We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dceebcd commit ce84ceeCopy full SHA for ce84cee
1 file changed
src/compiler/checker.ts
@@ -5716,7 +5716,7 @@ namespace ts {
5716
return getTypeFromSpreadTypeLiteral(node, aliasSymbol, aliasTypeArguments);
5717
}
5718
5719
- let type = createObjectType(TypeFlags.Anonymous, node.symbol);
+ const type = createObjectType(TypeFlags.Anonymous, node.symbol);
5720
type.aliasSymbol = aliasSymbol;
5721
type.aliasTypeArguments = aliasTypeArguments;
5722
links.resolvedType = type;
0 commit comments