File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -6091,7 +6091,6 @@ namespace ts {
6091
6091
case SyntaxKind . NullKeyword :
6092
6092
case SyntaxKind . UndefinedKeyword :
6093
6093
case SyntaxKind . NeverKeyword :
6094
- case SyntaxKind . ObjectKeyword :
6095
6094
return parseTokenNode < JSDocType > ( ) ;
6096
6095
case SyntaxKind . StringLiteral :
6097
6096
case SyntaxKind . NumericLiteral :
@@ -6769,7 +6768,7 @@ namespace ts {
6769
6768
const jsDocTypeReference = < JSDocTypeReference > typeExpression . type ;
6770
6769
if ( jsDocTypeReference . name . kind === SyntaxKind . Identifier ) {
6771
6770
const name = < Identifier > jsDocTypeReference . name ;
6772
- if ( name . text === "Object" ) {
6771
+ if ( name . text === "Object" || name . text === "object" ) {
6773
6772
typedefTag . jsDocTypeLiteral = scanChildTags ( ) ;
6774
6773
}
6775
6774
}
You can’t perform that action at this time.
0 commit comments