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 |
|
6 | declare function arrayUnique<T>(arr: T[]): T[];
|
7 |
|
8 | declare namespace arrayUnique {
|
9 | function immutable<T>(arr: ReadonlyArray<T>): T[];
|
10 | }
|
11 |
|
12 | export = arrayUnique;
|