UNPKG

396 BTypeScriptView Raw
1// Type definitions for array-unique 0.3
2// Project: https://github.com/jonschlinkert/array-unique
3// Definitions by: Michaël St-Georges <https://github.com/CSLTech>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6declare function arrayUnique<T>(arr: T[]): T[];
7
8declare namespace arrayUnique {
9 function immutable<T>(arr: ReadonlyArray<T>): T[];
10}
11
12export = arrayUnique;