Skip to content

Commit aaa064b

Browse files
committed
Fix lint error
1 parent 5de180e commit aaa064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15584,7 +15584,7 @@ namespace ts {
1558415584
// However, simply making no inferences is undesirable because it could ultimately mean
1558515585
// inferring a type parameter constraint. Instead, make a lower priority inference from
1558615586
// 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.
15587+
// string to 'string | T', make a lower priority inference of string for T.
1558815588
const savePriority = priority;
1558915589
priority |= InferencePriority.NakedTypeVariable;
1559015590
inferFromTypes(source, target);

0 commit comments

Comments
 (0)