Type Alias LiteralUnion<LiteralType, BaseType>

LiteralUnion<LiteralType, BaseType>: LiteralType | BaseType & Record<never, never>

Type Parameters

  • LiteralType
  • BaseType