31. implement Push<T, I>

TypeScript

  - accepted / - tried

Push<T, I>を実装してください。

type A = Push<[1,2,3], 4> // [2,3]type B = Push<[1], 2> // [1, 2]type C = Push<[], string> // [string]

10分間以内で解いてみて