UNPKG

781 BMarkdownView Raw
1# Installation
2> `npm install --save @types/array-unique`
3
4# Summary
5This package contains type definitions for array-unique (https://github.com/jonschlinkert/array-unique).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-unique.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-unique/index.d.ts)
10````ts
11declare function arrayUnique<T>(arr: T[]): T[];
12
13declare namespace arrayUnique {
14 function immutable<T>(arr: readonly T[]): T[];
15}
16
17export = arrayUnique;
18
19````
20
21### Additional Details
22 * Last updated: Mon, 20 Nov 2023 23:36:23 GMT
23 * Dependencies: none
24
25# Credits
26These definitions were written by [Michaël St-Georges](https://github.com/CSLTech).
27
\No newline at end of file