first commit
This commit is contained in:
9
node_modules/stylelint/lib/utils/uniteSets.mjs
generated
vendored
Normal file
9
node_modules/stylelint/lib/utils/uniteSets.mjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Unite two or more sets
|
||||
*
|
||||
* @param {Iterable<string>[]} args
|
||||
* @see {@link https://github.com/microsoft/TypeScript/issues/57228|GitHub}
|
||||
*/
|
||||
export default function uniteSets(...args) {
|
||||
return new Set([...args].reduce((result, set) => [...result, ...set], []));
|
||||
}
|
||||
Reference in New Issue
Block a user