(code: string)
| 10 | } from "./jsx-scope"; |
| 11 | |
| 12 | function parseJSX(code: string): t.File { |
| 13 | return parse(code, { |
| 14 | sourceType: "module", |
| 15 | plugins: ["jsx", "typescript"], |
| 16 | }); |
| 17 | } |
| 18 | |
| 19 | function getJSXElementPaths(ast: t.File): NodePath<t.JSXElement>[] { |
| 20 | const paths: NodePath<t.JSXElement>[] = []; |
no test coverage detected