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 99700c7 commit 2480458Copy full SHA for 2480458
src/compiler/checker.ts
@@ -26310,7 +26310,7 @@ namespace ts {
26310
const isTaggedTemplate = node.kind === SyntaxKind.TaggedTemplateExpression;
26311
const isDecorator = node.kind === SyntaxKind.Decorator;
26312
const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
26313
- const reportErrors = !candidatesOutArray;
+ const reportErrors = !candidatesOutArray && produceDiagnostics;
26314
26315
let typeArguments: NodeArray<TypeNode> | undefined;
26316
0 commit comments