mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 11:43:18 -05:00
Do not emit declarations for javascript files
This commit is contained in:
@@ -1272,7 +1272,7 @@ namespace ts {
|
||||
if (sourceMapFilePath) {
|
||||
emitFilesSeen[sourceMapFilePath] = [file];
|
||||
}
|
||||
if (options.declaration) {
|
||||
if (declarationFilePath) {
|
||||
emitFilesSeen[declarationFilePath] = [file];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user