({type, query, rules}: ParsedAtRule, indent: string)
| 19 | } |
| 20 | |
| 21 | function formatAtRule({type, query, rules}: ParsedAtRule, indent: string) { |
| 22 | lines.push(`${indent}${type} ${query} {`); |
| 23 | rules.forEach((child) => formatRule(child, `${indent}${tab}`)); |
| 24 | lines.push(`${indent}}`); |
| 25 | } |
| 26 | |
| 27 | function formatStyleRule({selectors, declarations}: ParsedStyleRule, indent: string) { |
| 28 | const lastSelectorIndex = selectors.length - 1; |
no test coverage detected