Create a union type that can be assigned a literal or its base type while maintaining autocomplete for the literal type
type LU = LiteralUnion<'small' | 'medium' | 'large'>;// 'small' | 'medium' | 'large' | (string & {}) Copy
type LU = LiteralUnion<'small' | 'medium' | 'large'>;// 'small' | 'medium' | 'large' | (string & {})
Create a union type that can be assigned a literal or its base type while maintaining autocomplete for the literal type