判断一个string类型中是否有相同的字符

type CheckRepeatedChars<'abc'>   // false
type CheckRepeatedChars<'aba'>   // true