62. implement Unique<T extends any[]>

  - accepted / - tried

Implement Unique<T extends Array<any>> to deduplicate string array.

type A = Unique<['A', 'A', 'A', 'B', 'B', 'C']>
// ['A', 'B', 'C']

Let's try to solve this problem within 10 minutes.

(1)