swc/crates/swc_ecma_parser/tests/tsc/jsxParsingError4.tsx
2022-02-04 17:08:38 +09:00

19 lines
256 B
TypeScript

// @strict: true, false
// @jsx: react
// @filename: a.tsx
declare const React: any
declare namespace JSX {
interface IntrinsicElements {
[k: string]: any
}
}
const a = (
<public-foo></public-foo>
);
const b = (
<public></public>
);