Skip to content

Commit 16c36d0

Browse files
committed
remove JSDOC object->any rewrite
1 parent 738e222 commit 16c36d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12850,7 +12850,7 @@ namespace ts {
1285012850
case SyntaxKind.NeverKeyword:
1285112851
return neverType;
1285212852
case SyntaxKind.ObjectKeyword:
12853-
return node.flags & NodeFlags.JavaScriptFile ? anyType : nonPrimitiveType;
12853+
return nonPrimitiveType;
1285412854
case SyntaxKind.ThisType:
1285512855
case SyntaxKind.ThisKeyword:
1285612856
return getTypeFromThisTypeNode(node as ThisExpression | ThisTypeNode);

0 commit comments

Comments
 (0)