I want to implement a type TrimStart like this:
type TrimStart<T extends string> = T extends ` ${infer Rest}` ? TrimStart<Rest> : T;
type TT = TrimStart<' Vue React Angular'>; // 'Vue React Angular'
But this produces the following error: Parsing error: Type expected.eslint