chore(typo): fix comment (#45016)

This commit is contained in:
jjangga0214
2021-07-15 01:28:48 +09:00
committed by GitHub
parent 9247ef115e
commit 2b8296b7ad

View File

@@ -15161,7 +15161,7 @@ namespace ts {
let extraTypes: Type[] | undefined;
// We loop here for an immediately nested conditional type in the false position, effectively treating
// types of the form 'A extends B ? X : C extends D ? Y : E extends F ? Z : ...' as a single construct for
// 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.
while (true) {
const isUnwrapped = isTypicalNondistributiveConditional(root);
const checkType = instantiateType(unwrapNondistributiveConditionalTuple(root, getActualTypeVariable(root.checkType)), mapper);