diff options
Diffstat (limited to 'node_modules/array-union/index.d.ts')
-rw-r--r-- | node_modules/array-union/index.d.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/node_modules/array-union/index.d.ts b/node_modules/array-union/index.d.ts deleted file mode 100644 index 379fc1d..0000000 --- a/node_modules/array-union/index.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** -Create an array of unique values, in order, from the input arrays. - -@example -``` -import arrayUnion = require('array-union'); - -arrayUnion([1, 1, 2, 3], [2, 3]); -//=> [1, 2, 3] - -arrayUnion(['foo', 'foo', 'bar']); -//=> ['foo', 'bar'] - -arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']); -//=> ['🐱', '🦄', '🐻', '🌈'] - -arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']); -//=> ['🐱', '🦄', '🐻', '🐶', '🌈'] -``` -*/ -declare function arrayUnion<ArgumentsType extends readonly unknown[]>( - ...arguments: readonly ArgumentsType[] -): ArgumentsType; - -export = arrayUnion; |