mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Merge pull request #39776 from amcasey/OverloadErrors
Reduce unnecessary error computation
This commit is contained in:
commit
79e2ed2e77
@ -26438,7 +26438,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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user