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 5de180e commit aaa064bCopy full SHA for aaa064b
src/compiler/checker.ts
@@ -15584,7 +15584,7 @@ namespace ts {
15584
// However, simply making no inferences is undesirable because it could ultimately mean
15585
// inferring a type parameter constraint. Instead, make a lower priority inference from
15586
// the full source to whatever remains in the target. For example, when inferring from
15587
- // string to 'string | T', make a lower priority inference of string for T.
+ // string to 'string | T', make a lower priority inference of string for T.
15588
const savePriority = priority;
15589
priority |= InferencePriority.NakedTypeVariable;
15590
inferFromTypes(source, target);
0 commit comments