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 fd8b7f3 + e207f25 commit 4d43a3aCopy full SHA for 4d43a3a
src/compiler/tsbuild.ts
@@ -302,7 +302,8 @@ namespace ts {
302
const outputs: string[] = [];
303
outputs.push(getOutputJavaScriptFileName(inputFileName, configFile));
304
if (configFile.options.declaration) {
305
- const dts = outputs.push(getOutputDeclarationFileName(inputFileName, configFile));
+ const dts = getOutputDeclarationFileName(inputFileName, configFile);
306
+ outputs.push(dts);
307
if (configFile.options.declarationMap) {
308
outputs.push(dts + ".map");
309
}
0 commit comments