UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

12 lines (11 loc) 197 B
/** * A [[List]] * @param A its type * @returns [[List]] * @example * ```ts * type list0 = [1, 2, 3] * type list1 = number[] * ``` */ export declare type List<A = any> = ReadonlyArray<A>;