Skip to content

AllButFirst

AllButFirst<T> = T extends readonly [unknown, ...(infer Tail)] ? Tail : unknown[]

Defined in: packages/isaacscript-common/src/types/AllButFirst.ts:2

Helper type to create a new tuple containing all but the first element of another tuple.

T extends readonly unknown[]