2 lines
44 B
TypeScript
2 lines
44 B
TypeScript
export type NonEmptyArray<T> = [T, ...T[]];
|
export type NonEmptyArray<T> = [T, ...T[]];
|