UNPKG

294 BTypeScriptView Raw
1type CompareTypes = boolean | number | string | undefined;
2export declare function sortBy<T>(arr: T[], fn: (i: T) => CompareTypes | CompareTypes[]): T[];
3export declare function uniq<T>(arr: T[]): T[];
4export declare function uniqWith<T>(arr: T[], fn: (a: T, b: T) => boolean): T[];
5export {};