/** * Split a string literal into an tuple of characters. * * @example * ``` * type MyChars = Chars<'abc'> // ['a', 'b', 'c'] * ``` */ export type Chars = S extends `${infer C}${infer R}` ? Chars : A;