NonEmptyArray

Type Alias: NonEmptyArray<T>

ts
type NonEmptyArray<T> = [T, ...T[]];
type NonEmptyArray<T> = [T, ...T[]];

Defined in: packages/db/src/types.ts:148

Represents a non-empty array (at least one element)

Type Parameters

T