This commit is contained in:
Andrew Branch 2019-05-20 12:26:12 -07:00
parent 422b5414f1
commit 0a3c755fc2
No known key found for this signature in database
GPG Key ID: 22CCA4B120C427D2

View File

@ -0,0 +1,18 @@
/// <reference path="fourslash.ts" />
//@Filename: jsxExpressionFollowedByIdentifier.tsx
////declare var React: any;
////declare var x: string;
////const a = <div>{<div />/*1*/x/*2*/}</div>
goTo.marker('1');
verify.getSyntacticDiagnostics([{
code: 1005,
message: "'}' expected.",
range: {
fileName: test.marker('1').fileName,
pos: test.marker('1').position,
end: test.marker('2').position,
}
}]);
verify.quickInfoIs('var x: string');