mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-20 16:14:57 +08:00
* Added declarations for 'array-uniq'. * Added linting for 'array-uniq'. * Removed patch number in 'array-uniq'.
5 lines
112 B
TypeScript
5 lines
112 B
TypeScript
import arrayUniq = require("array-uniq");
|
|
|
|
arrayUniq([1, 1, 2, 3, 3]);
|
|
|
|
arrayUniq(["foo", "foo", "bar", "foo"]); |