mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-14 16:56:06 -05:00
Merge pull request #39792 from amcasey/OverloadErrors4
Reduce unnecessary error computation
This commit is contained in:
@@ -26310,7 +26310,7 @@ namespace ts {
|
||||
const isTaggedTemplate = node.kind === SyntaxKind.TaggedTemplateExpression;
|
||||
const isDecorator = node.kind === SyntaxKind.Decorator;
|
||||
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
|
||||
const reportErrors = !candidatesOutArray;
|
||||
const reportErrors = !candidatesOutArray && produceDiagnostics;
|
||||
|
||||
let typeArguments: NodeArray<TypeNode> | undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user