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 48ed6bc commit d206b29Copy full SHA for d206b29
packages/plugin-dts/src/tsc.ts
@@ -267,11 +267,10 @@ export async function emitDts(
267
createProgram,
268
});
269
270
- program.emit();
271
-
+ const emitResult = program.emit();
272
const allDiagnostics = program
273
- .getSemanticDiagnostics()
274
- .concat(program.getConfigFileParsingDiagnostics());
+ .getConfigFileParsingDiagnostics()
+ .concat(emitResult.diagnostics);
275
276
await handleDiagnosticsAndProcessFiles(
277
allDiagnostics,
0 commit comments