Fix lint error
This commit is contained in:
parent
de837ed51f
commit
c6b77fa5df
1 changed files with 1 additions and 1 deletions
|
@ -15773,7 +15773,7 @@ namespace ts {
|
|||
// type variable. If there is more than one naked type variable, give lower priority to
|
||||
// the inferences as they are less specific.
|
||||
if (typeVariableCount > 0) {
|
||||
const unmatched = flatMap(sources, (s, i) => matched![i] ? undefined : s);
|
||||
const unmatched = flatMap(sources, (s, i) => matched[i] ? undefined : s);
|
||||
if (unmatched.length) {
|
||||
const s = getUnionType(unmatched);
|
||||
const savePriority = priority;
|
||||
|
|
Loading…
Reference in a new issue