Skip to content

Commit 77897bd

Browse files
committed
Removing comment
1 parent 3607ace commit 77897bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/utilities.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,8 +1840,7 @@ namespace ts {
18401840
return program.getSourceFiles().some(s => !s.isDeclarationFile && !program.isSourceFileFromExternalLibrary(s) && !!s.externalModuleIndicator);
18411841
}
18421842
export function compilerOptionsIndicateEs6Modules(compilerOptions: CompilerOptions): boolean {
1843-
// Prevent ES6 module indication for non-module files
1844-
if(compilerOptions.module === ModuleKind.None){
1843+
if (compilerOptions.module === ModuleKind.None){
18451844
return false;
18461845
}
18471846
return !!compilerOptions.module || compilerOptions.target! >= ScriptTarget.ES2015 || !!compilerOptions.noEmit;

0 commit comments

Comments
 (0)