We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f990e4e commit 01516c8Copy full SHA for 01516c8
1 file changed
src/compiler/checker.ts
@@ -8591,7 +8591,7 @@ namespace ts {
8591
8592
function instantiateSymbol(symbol: Symbol, mapper: TypeMapper): Symbol {
8593
const links = getSymbolLinks(symbol);
8594
- if (links.type && !maybeTypeOfKind(links.type, TypeFlags.Object | TypeFlags.TypeVariable | TypeFlags.Index)) {
+ if (links.type && !maybeTypeOfKind(links.type, TypeFlags.Object | TypeFlags.Instantiable)) {
8595
// If the type of the symbol is already resolved, and if that type could not possibly
8596
// be affected by instantiation, simply return the symbol itself.
8597
return symbol;
0 commit comments