# NonEmptyArray

# Type Alias: NonEmptyArray\<T\>

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

Defined in: [packages/db/src/types.ts:136](https://github.com/TanStack/db/blob/main/packages/db/src/types.ts#L136)

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

## Type Parameters

### T

`T`
