We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20d6feb commit a554bbfCopy full SHA for a554bbf
1 file changed
src/compiler/checker.ts
@@ -26902,7 +26902,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
26902
if (getObjectFlags(source) & ObjectFlags.NonInferrableType || source === nonInferrableAnyType) {
26903
return;
26904
}
26905
- if (!inference.isFixed) {
+ if (!hasInferenceCandidates(inference)) {
26906
const partialInferenceTypeSymbol = getGlobalPartialInferenceSymbol();
26907
if (partialInferenceTypeSymbol) {
26908
if ((target as IndexedAccessType).indexType.flags & TypeFlags.Instantiable) {
0 commit comments