15 lines
243 B
Plaintext
15 lines
243 B
Plaintext
|
=== tests/cases/conformance/jsx/tsxElementResolution5.tsx ===
|
||
|
declare module JSX {
|
||
|
>JSX : any
|
||
|
|
||
|
interface Element { }
|
||
|
>Element : Element
|
||
|
}
|
||
|
|
||
|
// OK, but implicit any
|
||
|
<div n='x' />;
|
||
|
><div n='x' /> : JSX.Element
|
||
|
>div : any
|
||
|
>n : any
|
||
|
|