/** * Distinguishes the wide string type from string literal unions. * `'a' | 'b'` extends string, but string does not extend `'a' | 'b'`. */ export type TIsWideString = Exclude extends string ? string extends Exclude ? true : false : false;