type ArrayNonEmpty<T>
Accepts all arrays with at least one element.
Definition
export type ArrayNonEmpty<T> = [T, ...T[]];
type ArrayNonEmpty<T>
Accepts all arrays with at least one element.
export type ArrayNonEmpty<T> = [T, ...T[]];