We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 917d18a commit 12eb57cCopy full SHA for 12eb57c
src/compiler/checker.ts
@@ -8264,7 +8264,7 @@ namespace ts {
8264
// junction is always the non-looping control flow path that leads to the top.
8265
for (let i = flowLoopStart; i < flowLoopCount; i++) {
8266
if (flowLoopNodes[i] === flow && flowLoopKeys[i] === key) {
8267
- return createFlowType(getUnionType(flowLoopTypes[i]), true);
+ return createFlowType(getUnionType(flowLoopTypes[i]), /*incomplete*/ true);
8268
}
8269
8270
// Add the flow loop junction and reference to the in-process stack and analyze
0 commit comments