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 2f3b835 + 2480458 commit c66b690Copy full SHA for c66b690
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