File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15106,12 +15106,15 @@ namespace ts {
15106
15106
// conditional types, and resolve substitution types to either the substitution (on the source
15107
15107
// side) or the type variable (on the target side).
15108
15108
let source = originalSource;
15109
- let target = originalTarget;
15110
15109
do {
15111
15110
const s = getNormalizedType(source, /*writing*/ false);
15112
- const t = getNormalizedType(target, /*writing*/ true);
15113
- if (s === source && t === target) break;
15111
+ if (s === source) break;
15114
15112
source = s;
15113
+ } while (true);
15114
+ let target = originalTarget;
15115
+ do {
15116
+ const t = getNormalizedType(target, /*writing*/ true);
15117
+ if (t === target) break;
15115
15118
target = t;
15116
15119
} while (true);
15117
15120
You can’t perform that action at this time.
0 commit comments