Open kscory opened 4 months ago
type EndsWith<T extends string, U extends string> = T extends `${string}${U}` ? true : false;
type EndsWith<T extends string, U extends string> = T extends `${string}${U}` ? true : false
type EndsWith<T extends string, U extends string> = T extends`${infer Start}${U}` ? true :false
답안을 작성해주세요.