You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newContext.freeTypeVariableSourceSignatures = new Map(ts.mapIterator(context.freeTypeVariableSourceSignatures!.entries(), ([k, v]) => [k, new Map(v.entries())]));
23692
+
newContext.freeTypeVariableSourceSignatures = new Map(mapIterator(context.freeTypeVariableSourceSignatures!.entries(), ([k, v]) => [k, new Map(v.entries())]));
23691
23693
}
23692
23694
return newContext;
23693
23695
}
@@ -23954,7 +23956,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
23954
23956
inferTypes(context, sourceType, templateType);
23955
23957
// By passing `returnFalse` here, we select the last option inferred from any overload lists -
23956
23958
// this matches historical behavior, but we can probably do better here. There's maybe a constraint we could check against?
0 commit comments