mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Fix lint error
This commit is contained in:
parent
5de180e878
commit
aaa064b3b8
@ -15584,7 +15584,7 @@ namespace ts {
|
||||
// However, simply making no inferences is undesirable because it could ultimately mean
|
||||
// inferring a type parameter constraint. Instead, make a lower priority inference from
|
||||
// the full source to whatever remains in the target. For example, when inferring from
|
||||
// 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.
|
||||
const savePriority = priority;
|
||||
priority |= InferencePriority.NakedTypeVariable;
|
||||
inferFromTypes(source, target);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user