Removed errors for missing module specifier

(cherry picked from commit f2e7f9f50f)
This commit is contained in:
Bill Ticehurst committed 2016-02-11 14:07:32 -08:00
1 parent ef90492f29
commit bb28424b45
4 files changed
+2 -19

No files matched your search

+1 -1
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;
}