19 lines
407 B
TypeScript
19 lines
407 B
TypeScript
//// [tests/cases/conformance/jsx/tsxErrorRecovery3.tsx] ////
|
|
|
|
//// [file1.tsx]
|
|
|
|
declare namespace JSX { interface Element { } }
|
|
|
|
<div></div>
|
|
<div></div>
|
|
|
|
//// [file2.tsx]
|
|
var x = <div></div><div></div>
|
|
|
|
|
|
//// [file1.js]
|
|
React.createElement("div", null)
|
|
,
|
|
React.createElement("div", null);
|
|
//// [file2.js]
|
|
var x = React.createElement("div", null), React.createElement("div", null);
|