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 2f73e39 commit 854731aCopy full SHA for 854731a
src/compiler/checker.ts
@@ -8818,7 +8818,7 @@ namespace ts {
8818
const saveExpandingFlags = expandingFlags;
8819
if (!(expandingFlags & 1) && isDeeplyNestedType(source, sourceStack, depth)) expandingFlags |= 1;
8820
if (!(expandingFlags & 2) && isDeeplyNestedType(target, targetStack, depth)) expandingFlags |= 2;
8821
- let result = expandingFlags !== 3 ? structuredTypeRelatedTo(source, target, reportErrors) : Ternary.Maybe;
+ const result = expandingFlags !== 3 ? structuredTypeRelatedTo(source, target, reportErrors) : Ternary.Maybe;
8822
expandingFlags = saveExpandingFlags;
8823
depth--;
8824
if (result) {
0 commit comments