File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9692,6 +9692,7 @@ namespace ts {
9692
9692
type = errorType;
9693
9693
}
9694
9694
symbol.type = type;
9695
+ symbol.mapper = undefined!;
9695
9696
}
9696
9697
return symbol.type;
9697
9698
}
@@ -13663,7 +13664,7 @@ namespace ts {
13663
13664
13664
13665
function instantiateSymbol(symbol: Symbol, mapper: TypeMapper): Symbol {
13665
13666
const links = getSymbolLinks(symbol);
13666
- if (links.type && !maybeTypeOfKind (links.type, TypeFlags.Object | TypeFlags.Instantiable )) {
13667
+ if (links.type && !couldContainTypeVariables (links.type)) {
13667
13668
// If the type of the symbol is already resolved, and if that type could not possibly
13668
13669
// be affected by instantiation, simply return the symbol itself.
13669
13670
return symbol;
You can’t perform that action at this time.
0 commit comments