Skip to content

Commit 6e5f477

Browse files
Merge pull request #27608 from flowkraD/isPartOfTypeNode
Added ObjectKeyword check to isPartOfTypeNode
2 parents 6a9055c + 0d19023 commit 6e5f477

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/utilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ namespace ts {
978978
case SyntaxKind.StringKeyword:
979979
case SyntaxKind.BooleanKeyword:
980980
case SyntaxKind.SymbolKeyword:
981+
case SyntaxKind.ObjectKeyword:
981982
case SyntaxKind.UndefinedKeyword:
982983
case SyntaxKind.NeverKeyword:
983984
return true;

0 commit comments

Comments
 (0)