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.
1 parent 62b4377 commit 195fad2Copy full SHA for 195fad2
src/compiler/checker.ts
@@ -26399,7 +26399,7 @@ namespace ts {
26399
const isTaggedTemplate = node.kind === SyntaxKind.TaggedTemplateExpression;
26400
const isDecorator = node.kind === SyntaxKind.Decorator;
26401
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
26402
- const reportErrors = !candidatesOutArray;
+ const reportErrors = !candidatesOutArray && produceDiagnostics;
26403
26404
let typeArguments: NodeArray<TypeNode> | undefined;
26405
0 commit comments