[Typescript] Remove one element from unit type
export type Letter = 'a' | 'b' | 'c'
type RemoveC<TType> = TType extends 'c' ? never: TType;
type WithoutC = RemoveC<Letter>;
export type Letter = 'a' | 'b' | 'c'
type RemoveC<TType> = TType extends 'c' ? never: TType;
type WithoutC = RemoveC<Letter>;