36. implement LargerThan<A, B>

TypeScript

  - accepted / - tried

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

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

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