83. 重复字符判断

中等0

实现一个通用的工具类型 CheckRepeatedChars<S> ,该类型用于判断 S 中是否包含重复字符。

例如:

type CheckRepeatedChars<'abc'> // expected to be false
type CheckRepeatedChars<'aba'> // expected to be true
评论(0)
题库

TypeScript

加载中...