(input: string)
| 37 | import { units } from "./__generated__/units"; |
| 38 | |
| 39 | export const cssTryParseValue = (input: string): undefined | CssNode => { |
| 40 | try { |
| 41 | const ast = parse(input, { context: "value" }); |
| 42 | return ast; |
| 43 | } catch { |
| 44 | return; |
| 45 | } |
| 46 | }; |
| 47 | |
| 48 | const splitRepeated = (nodes: CssNode[]) => { |
| 49 | const lists: Array<CssNode[]> = [[]]; |
no test coverage detected