We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f1521c + 195fad2 commit 79e2ed2Copy full SHA for 79e2ed2
src/compiler/checker.ts
@@ -26438,7 +26438,7 @@ namespace ts {
26438
const isTaggedTemplate = node.kind === SyntaxKind.TaggedTemplateExpression;
26439
const isDecorator = node.kind === SyntaxKind.Decorator;
26440
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
26441
- const reportErrors = !candidatesOutArray;
+ const reportErrors = !candidatesOutArray && produceDiagnostics;
26442
26443
let typeArguments: NodeArray<TypeNode> | undefined;
26444
0 commit comments