34 lines
508 B
Plaintext
34 lines
508 B
Plaintext
=== tests/cases/conformance/jsx/a.tsx ===
|
|
declare const React: any
|
|
>React : any
|
|
|
|
declare namespace JSX {
|
|
interface IntrinsicElements {
|
|
[k: string]: any
|
|
>k : string
|
|
}
|
|
}
|
|
|
|
const a = (
|
|
>a : any
|
|
>( <public-foo></public-foo>) : any
|
|
|
|
<public-foo></public-foo>
|
|
><public-foo></public-foo> : any
|
|
>public-foo : any
|
|
>public-foo : any
|
|
|
|
);
|
|
|
|
const b = (
|
|
>b : any
|
|
>( <public></public>) : any
|
|
|
|
<public></public>
|
|
><public></public> : any
|
|
>public : any
|
|
>public : any
|
|
|
|
);
|
|
|