(selector: string)
| 1 | import * as cssTree from 'css-tree'; |
| 2 | |
| 3 | function mapSelectors(selector: string): string[] { |
| 4 | if (!selector) { |
| 5 | return []; |
| 6 | } |
| 7 | |
| 8 | return selector.split(/\s*(?![^(]*\)),\s*/).map((s) => s.replace(/\u200C/g, ',')); |
| 9 | } |
| 10 | |
| 11 | function mapPosition(node, css) { |
| 12 | const res: any = { |
no test coverage detected