Removed errors for missing module specifier

(cherry picked from commit f2e7f9f50f)
This commit is contained in:
Bill Ticehurst
2016-02-10 19:56:31 -08:00
parent ef90492f29
commit bb28424b45
4 changed files with 2 additions and 19 deletions

View File

@@ -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;
}