File: index.d.ts

package info (click to toggle)
node-array-unique 0.3.2%2B~0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 196 kB
  • sloc: javascript: 269; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
// Type definitions for array-unique 0.3
// Project: https://github.com/jonschlinkert/array-unique
// Definitions by: Michaƫl St-Georges <https://github.com/CSLTech>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare function arrayUnique<T>(arr: T[]): T[];

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

export = arrayUnique;