mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Removed errors for missing module specifier
(cherry picked from commit f2e7f9f50f)
This commit is contained in:
1 parent
ef90492f29
commit
bb28424b45
4 files changed
+2
-19
No files matched your search
@@ -601,8 +601,8 @@ namespace ts {
|
||||
const options: CompilerOptions = {};
|
||||
const errors: Diagnostic[] = [];
|
||||
|
||||
options.module = ModuleKind.CommonJS;
|
||||
if (configFileName && getBaseFileName(configFileName) === "jsconfig.json") {
|
||||
options.module = ModuleKind.CommonJS;
|
||||
options.allowJs = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user