42. implement Equal<A, B>

  - accepted / - tried

Implement Equal<A, B> to check if two types are identical.

Equal<any, any> // true
Equal<any, 1> // false
Equal<never, never> // true
Equal<'BFE', 'BFE'> // true
Equal<'BFE', string> // false
Equal<1 | 2, 2 | 1> // true
Equal<{a : number}, {a: number}> // true

there might not be a 100% perfect solution, so are the test cases from us.

let's all try with our best effort.

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

(14)