2015-06-22 20:53:38 +02:00
|
|
|
//// [tsxErrorRecovery1.tsx]
|
|
|
|
|
|
|
|
declare namespace JSX { interface Element { } }
|
|
|
|
|
|
|
|
function foo() {
|
|
|
|
var x = <div> { </div>
|
|
|
|
}
|
|
|
|
// Shouldn't see any errors down here
|
|
|
|
var y = { a: 1 };
|
|
|
|
|
|
|
|
|
|
|
|
//// [tsxErrorRecovery1.jsx]
|
|
|
|
function foo() {
|
2015-08-08 00:46:36 +02:00
|
|
|
var x = <div> {}div>
|
|
|
|
}
|
|
|
|
// Shouldn't see any errors down here
|
|
|
|
var y = {a} 1 };
|
|
|
|
</>;
|
2015-06-22 20:53:38 +02:00
|
|
|
}
|