UNPKG

@rep2recall/r2r-sqlite

Version:
9 lines 369 B
export declare function shuffle(a: any[]): any[]; export declare function chunk<T>(array: T[], size: number): T[][]; declare global { interface Array<T> { distinctBy<U extends string | number>(mapFn: (el: T) => U): T[]; mapAsync<U>(mapFn: (value: T, index: number, array: T[]) => Promise<U>): Promise<U[]>; } } //# sourceMappingURL=util.d.ts.map