Skip to content

Type Alias: LiteralUnion<LiteralType, BaseType>

ts
type 
LiteralUnion
<
LiteralType
,
BaseType
> =
|
LiteralType
| (
BaseType
&
Record
<never, never>);

Defined in: types/type-fest.ts:3

Type Parameters

LiteralType

LiteralType

BaseType

BaseType

Released under the MIT license