swc/crates/swc_ecma_parser/tests/tsc/jsxParsingError4.tsx

19 lines
256 B
TypeScript
Raw Normal View History

// @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>
);