AllButFirst
Type Aliases
AllButFirst
Ƭ AllButFirst<T
>: T
extends [unknown
, ...(infer Tail)] ? Tail
: unknown
[]
Helper type to create a new tuple containing all but the first element of another tuple.
Type parameters
Name | Type |
---|
T | extends unknown [] |
Defined in
packages/isaacscript-common/src/types/AllButFirst.ts:2