Skip to content

Commit b34fe67

Browse files
committed
Fix issue of more inferences leading to worse results
1 parent 6d88251 commit b34fe67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,7 @@ namespace ts {
17981798
const span = createTextSpanFromBounds(start, end);
17991799
const formatContext = formatting.getFormatContext(formatOptions);
18001800

1801-
return flatMap(deduplicate(errorCodes, equateValues, compareValues), errorCode => {
1801+
return flatMap(deduplicate<number>(errorCodes, equateValues, compareValues), errorCode => {
18021802
cancellationToken.throwIfCancellationRequested();
18031803
return codefix.getFixes({ errorCode, sourceFile, span, program, host, cancellationToken, formatContext, preferences });
18041804
});

0 commit comments

Comments
 (0)