7 lines
116 B
TypeScript
7 lines
116 B
TypeScript
|
declare function unique(
|
||
|
arr: any[],
|
||
|
cmp?: (a: any, b: any) => boolean | number
|
||
|
): any[];
|
||
|
|
||
|
export = unique;
|