File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -6308,7 +6308,7 @@ namespace ts {
6308
6308
6309
6309
// Parses out a JSDoc type expression.
6310
6310
export function parseJSDocTypeExpression ( mayOmitBraces ?: boolean ) : JSDocTypeExpression {
6311
- const result = < JSDocTypeExpression > createNode ( SyntaxKind . JSDocTypeExpression , scanner . getTokenPos ( ) ) ;
6311
+ const result = < JSDocTypeExpression > createNode ( SyntaxKind . JSDocTypeExpression ) ;
6312
6312
6313
6313
const hasBrace = ( mayOmitBraces ? parseOptional : parseExpected ) ( SyntaxKind . OpenBraceToken ) ;
6314
6314
result . type = doInsideOfContext ( NodeFlags . JSDoc , parseJSDocType ) ;
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ // @allowJs : true
4
+ // @noLib : true
5
+
6
+ // @Filename : /a.js
7
+ /////** @type /**/ */
8
+ ////const x = 0;
9
+
10
+ goTo . marker ( ) ;
11
+ verify . quickInfoIs ( "" ) ;
12
+ edit . insert ( " " ) ;
13
+ verify . quickInfoIs ( "" ) ;
You can’t perform that action at this time.
0 commit comments