postcss-merge-longhand
Version:
Merge longhand properties into shorthand with PostCSS.
10 lines • 458 B
TypeScript
/**
* Returns all declarations for the given CSS properties.
*
* @param {import('postcss').Rule} rule
* @param {Set<string>} properties the CSS properties to search for
* @return {Set<import('postcss').Declaration>}
*/
declare function getDeclarationsThatMatchProperties(rule: import('postcss').Rule, properties: Set<string>): Set<import('postcss').Declaration>;
export default getDeclarationsThatMatchProperties;
//# sourceMappingURL=getDecls.d.ts.map