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 ad3d38c commit 5b652b4Copy full SHA for 5b652b4
src/compiler/checker.ts
@@ -17818,9 +17818,7 @@ namespace ts {
17818
if (inDestructuringPattern) {
17819
result.pattern = node;
17820
}
17821
- if (!(result.flags & TypeFlags.Nullable)) {
17822
- propagatedFlags |= (result.flags & TypeFlags.PropagatingFlags);
17823
- }
+ propagatedFlags |= (result.flags & TypeFlags.PropagatingFlags);
17824
return result;
17825
17826
0 commit comments