11 lines
242 B
TypeScript
11 lines
242 B
TypeScript
//// [file.tsx]
|
|
declare module JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements { div; span; }
|
|
}
|
|
|
|
var x = <div><div><span><div></div></span></div></div>;
|
|
|
|
|
|
//// [file.jsx]
|
|
var x = <div><div><span><div></div></span></div></div>;
|