Skip to content

Commit 7ab51c6

Browse files
author
Yui T
committed
Merge from master
1 parent cf2214b commit 7ab51c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3104,7 +3104,7 @@ module ts {
31043104

31053105
// All the references that are not going to be part of same file
31063106
if ((referencedFile.flags & NodeFlags.DeclarationFile) || // This is a declare file reference
3107-
shouldEmitToOwnFile(referencedFile) || // This is referenced file is emitting its own js file
3107+
shouldEmitToOwnFile(referencedFile, compilerOptions) || // This is referenced file is emitting its own js file
31083108
!addedGlobalFileReference) { // Or the global out file corresponding to this reference was not added
31093109

31103110
writeReferencePath(referencedFile);

0 commit comments

Comments
 (0)