File: README.md

package info (click to toggle)
node-array-unique 0.3.2%2B~0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: javascript: 269; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 781 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Installation
> `npm install --save @types/array-unique`

# Summary
This package contains type definitions for array-unique (https://github.com/jonschlinkert/array-unique).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-unique.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-unique/index.d.ts)
````ts
declare function arrayUnique<T>(arr: T[]): T[];

declare namespace arrayUnique {
    function immutable<T>(arr: readonly T[]): T[];
}

export = arrayUnique;

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:23 GMT
 * Dependencies: none

# Credits
These definitions were written by [Michaƫl St-Georges](https://github.com/CSLTech).