@@ -7268,7 +7268,7 @@ const _super = (function (geti, seti) {
72687268 write ( `], function(${ exportFunctionForFile } , ${ contextObjectForFile } ) {` ) ;
72697269 writeLine ( ) ;
72707270 increaseIndent ( ) ;
7271- const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . emitNonStrictModules ) ;
7271+ const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . noImplicitUseStrict ) ;
72727272 writeLine ( ) ;
72737273 write ( `var __moduleName = ${ contextObjectForFile } && ${ contextObjectForFile } .id;` ) ;
72747274 writeLine ( ) ;
@@ -7374,7 +7374,7 @@ const _super = (function (geti, seti) {
73747374 writeModuleName ( node , emitRelativePathAsModuleName ) ;
73757375 emitAMDDependencies ( node , /*includeNonAmdDependencies*/ true , emitRelativePathAsModuleName ) ;
73767376 increaseIndent ( ) ;
7377- const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . emitNonStrictModules ) ;
7377+ const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . noImplicitUseStrict ) ;
73787378 emitExportStarHelper ( ) ;
73797379 emitCaptureThisForNodeIfNecessary ( node ) ;
73807380 emitLinesStartingAt ( node . statements , startIndex ) ;
@@ -7386,7 +7386,7 @@ const _super = (function (geti, seti) {
73867386 }
73877387
73887388 function emitCommonJSModule ( node : SourceFile ) {
7389- const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ false , /*ensureUseStrict*/ ! compilerOptions . emitNonStrictModules ) ;
7389+ const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ false , /*ensureUseStrict*/ ! compilerOptions . noImplicitUseStrict ) ;
73907390 emitEmitHelpers ( node ) ;
73917391 collectExternalModuleInfo ( node ) ;
73927392 emitExportStarHelper ( ) ;
@@ -7415,7 +7415,7 @@ const _super = (function (geti, seti) {
74157415})(` ) ;
74167416 emitAMDFactoryHeader ( dependencyNames ) ;
74177417 increaseIndent ( ) ;
7418- const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . emitNonStrictModules ) ;
7418+ const startIndex = emitDirectivePrologues ( node . statements , /*startWithNewLine*/ true , /*ensureUseStrict*/ ! compilerOptions . noImplicitUseStrict ) ;
74197419 emitExportStarHelper ( ) ;
74207420 emitCaptureThisForNodeIfNecessary ( node ) ;
74217421 emitLinesStartingAt ( node . statements , startIndex ) ;
0 commit comments