mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
.d.ts files don't have outputs
This commit is contained in:
1 parent
38d649111b
commit
64e6b7669b
2 files changed
+3
-1
No files matched your search
@@ -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
@@ -0,0 +1 @@
|
||||
declare const dts: any;
|
||||
Reference in new issue
Block a user