.d.ts files don't have outputs

This commit is contained in:
Ryan Cavanaugh committed 2018-07-02 10:15:13 -07:00
1 parent 38d649111b
commit 64e6b7669b
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -295,7 +295,8 @@ namespace ts {
}
function getOutputFileNames(inputFileName: string, configFile: ParsedCommandLine): ReadonlyArray<string> {
if (configFile.options.outFile) {
// outFile is handled elsewhere; .d.ts files don't generate outputs
if (configFile.options.outFile || fileExtensionIs(inputFileName, Extension.Dts)) {
return emptyArray;
}
+1
View File
@@ -0,0 +1 @@
declare const dts: any;