diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
| commit | 0379526e20e1ff212df23e6326741aa9c06df204 (patch) | |
| tree | 340143b0c4dc4280c88ba1591d137b53477005b3 /node_modules/array-differ/index.d.ts | |
| parent | 7aba14fb7c970c6e6af82c805db2aef6d70bfe2b (diff) | |
added doiuse plugin for postcss
Diffstat (limited to 'node_modules/array-differ/index.d.ts')
| -rw-r--r-- | node_modules/array-differ/index.d.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/node_modules/array-differ/index.d.ts b/node_modules/array-differ/index.d.ts new file mode 100644 index 00000000..3a038ea5 --- /dev/null +++ b/node_modules/array-differ/index.d.ts @@ -0,0 +1,21 @@ +/** +Create an array with values that are present in the first array but not additional ones. + +@param array - The array to compare against. +@param values - The arrays with values to be excluded. +@returns A new array of filtered values. + +@example +``` +import arrayDiffer = require('array-differ'); + +arrayDiffer([2, 3, 4], [3, 50]); +//=> [2, 4] +``` +*/ +declare function arrayDiffer<ValueType>( + array: readonly ValueType[], + ...values: (readonly ValueType[])[] +): ValueType[]; + +export = arrayDiffer; |
