UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

12 lines (11 loc) 354 B
/** * Item or array of items * * 1) Any item except array and undefined represents array with that one item (also null) * 2) Undefined represents empty array * 3) Array represents itself * * @deprecated Use `Arrayable` from `type-fest` instead * @private internal type */ export type Arrayable<TItem> = TItem | ReadonlyArray<TItem> | undefined;