UNPKG

stylelint-scss

Version:

A collection of SCSS-specific rules for Stylelint

10 lines (9 loc) 274 B
/** * 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], [])); }