实现一个通用的工具类型 FindEles<T>,找出目标数组中只出现过一次的元素。
FindEles<T>
例如:
type Res = FindEles<[1, 2, 2, 3, 3, 4, 5, 6, 6, 6]> // expected to be [1,4,5]
TypeScript