36. implement LargerThan<A, B>

TypeScript

  - accepted / - tried

Implement LargerThan<A, B> to compare two non-negative integers.

type A = LargerThan<0, 1> // false
type B = LargerThan<1, 0> // true
type C = LargerThan<10, 9> // true

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

(12)