File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2507,6 +2507,7 @@ namespace ts {
2507
2507
case SyntaxKind . SymbolKeyword :
2508
2508
case SyntaxKind . UndefinedKeyword :
2509
2509
case SyntaxKind . NeverKeyword :
2510
+ case SyntaxKind . ObjectKeyword :
2510
2511
// If these are followed by a dot, then parse these out as a dotted type reference instead.
2511
2512
const node = tryParse ( parseKeywordAndNoDot ) ;
2512
2513
return node || parseTypeReference ( ) ;
@@ -2565,6 +2566,7 @@ namespace ts {
2565
2566
case SyntaxKind . NumericLiteral :
2566
2567
case SyntaxKind . TrueKeyword :
2567
2568
case SyntaxKind . FalseKeyword :
2569
+ case SyntaxKind . ObjectKeyword :
2568
2570
return true ;
2569
2571
case SyntaxKind . MinusToken :
2570
2572
return lookAhead ( nextTokenIsNumericLiteral ) ;
@@ -6026,6 +6028,7 @@ namespace ts {
6026
6028
case SyntaxKind . NullKeyword :
6027
6029
case SyntaxKind . UndefinedKeyword :
6028
6030
case SyntaxKind . NeverKeyword :
6031
+ case SyntaxKind . ObjectKeyword :
6029
6032
return parseTokenNode < JSDocType > ( ) ;
6030
6033
case SyntaxKind . StringLiteral :
6031
6034
case SyntaxKind . NumericLiteral :
You can’t perform that action at this time.
0 commit comments