Implement type CheckRepeatedChars<S> which will return whether type S contains duplicated chars?
CheckRepeatedChars<S>
S
For example:
type CheckRepeatedChars<'abc'> // false type CheckRepeatedChars<'aba'> // true