We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3c755 commit 897e10aCopy full SHA for 897e10a
tests/cases/fourslash/jsxExpressionFollowedByIdentifier.ts
@@ -3,16 +3,12 @@
3
//@Filename: jsxExpressionFollowedByIdentifier.tsx
4
////declare var React: any;
5
////declare var x: string;
6
-////const a = <div>{<div />/*1*/x/*2*/}</div>
+////const a = <div>{<div />[|x|]}</div>
7
8
-goTo.marker('1');
+const range = test.ranges()[0];
9
verify.getSyntacticDiagnostics([{
10
code: 1005,
11
message: "'}' expected.",
12
- range: {
13
- fileName: test.marker('1').fileName,
14
- pos: test.marker('1').position,
15
- end: test.marker('2').position,
16
- }
+ range,
17
}]);
18
-verify.quickInfoIs('var x: string');
+verify.quickInfoAt(range, 'var x: string');
0 commit comments