(selector: string, nodes: AstNode[] = [])
| 85 | } |
| 86 | |
| 87 | export function rule(selector: string, nodes: AstNode[] = []): StyleRule | AtRule { |
| 88 | if (selector.charCodeAt(0) === AT_SIGN) { |
| 89 | return parseAtRule(selector, nodes) |
| 90 | } |
| 91 | |
| 92 | return styleRule(selector, nodes) |
| 93 | } |
| 94 | |
| 95 | export function decl(property: string, value: string | undefined, important = false): Declaration { |
| 96 | return { |
no test coverage detected