mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 20:44:53 -05:00
Fix lint error
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user