19 lines
325 B
TypeScript
19 lines
325 B
TypeScript
//// [tests/cases/conformance/jsx/tsxErrorRecovery2.tsx] ////
|
|
|
|
//// [file1.tsx]
|
|
|
|
declare namespace JSX { interface Element { } }
|
|
|
|
<div></div>
|
|
<div></div>
|
|
|
|
//// [file2.tsx]
|
|
var x = <div></div><div></div>
|
|
|
|
|
|
//// [file1.jsx]
|
|
<div></div>
|
|
,
|
|
<div></div>;
|
|
//// [file2.jsx]
|
|
var x = <div></div>, <div></div>;
|