Unshift

@type-challenges
Last updated 30 days ago
EASY

Implement the type version of Array.unshift

For example:

type Result = Unshift<[1, 2], 0> // [0, 1, 2]

This challenge was ported from Type Challenges and was authored by jiangshanmeta

Loading...
Loading...