Open shaKY-iota opened 2 years ago
// your answers type DropChar<S extends string, C extends string> = S extends `${infer First}${infer Rest}` ? `${First extends C ? "" : First}${DropChar<Rest, C>}` : "";