Skip to content

Commit 8940285

Browse files
committed
Prevents Auto import in module:none microsoft#55328
1 parent 9a450cb commit 8940285

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/utilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2447,6 +2447,7 @@ export function getNameFromPropertyName(name: PropertyName): string | undefined
24472447
if (compilerOptions.module === ModuleKind.None) {
24482448
return false;
24492449
}
2450+
24502451
return !!compilerOptions.module || compilerOptions.target! >= ScriptTarget.ES2015 || !!compilerOptions.noEmit;
24512452
}
24522453

0 commit comments

Comments
 (0)