UNPKG

@extra-array/prefixes

Version:
10 lines (9 loc) 275 B
declare module "@extra-array/prefixes" { /** * Lists all possible prefixes. * @param x an array * @param n number of values (-1 => any) */ declare function prefixes<T>(x: T[], n?: number): IterableIterator<T[]>; export = prefixes; //# sourceMappingURL=prefixes.d.ts.map}