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 33879ff commit 8f14d41Copy full SHA for 8f14d41
packages/plugin-dts/src/tsc.ts
@@ -268,9 +268,14 @@ export async function emitDts(
268
});
269
270
const emitResult = program.emit();
271
- const allDiagnostics = program
272
- .getConfigFileParsingDiagnostics()
273
- .concat(emitResult.diagnostics);
+ const allDiagnostics = [
+ ...program.getConfigFileParsingDiagnostics(),
+ ...program.getOptionsDiagnostics(),
274
+ ...program.getSyntacticDiagnostics(),
275
+ ...program.getSemanticDiagnostics(),
276
+ ...program.getDeclarationDiagnostics(),
277
+ ...emitResult.diagnostics,
278
+ ];
279
280
await handleDiagnosticsAndProcessFiles(
281
allDiagnostics,
0 commit comments