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 9247ef1 commit 2b8296bCopy full SHA for 2b8296b
src/compiler/checker.ts
@@ -15161,7 +15161,7 @@ namespace ts {
15161
let extraTypes: Type[] | undefined;
15162
// We loop here for an immediately nested conditional type in the false position, effectively treating
15163
// types of the form 'A extends B ? X : C extends D ? Y : E extends F ? Z : ...' as a single construct for
15164
- // purposes of resolution. This means such types aren't subject to the instatiation depth limiter.
+ // purposes of resolution. This means such types aren't subject to the instantiation depth limiter.
15165
while (true) {
15166
const isUnwrapped = isTypicalNondistributiveConditional(root);
15167
const checkType = instantiateType(unwrapNondistributiveConditionalTuple(root, getActualTypeVariable(root.checkType)), mapper);
0 commit comments