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:
@@ -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