面试题答案一键面试type IsString<T> = T extends string ? true : false; type FilterStrings<T> = Extract<T, string>;