Merge pull request #21505 from armanio123/SetNoEmitTrueJsConfig

Set noEmit = true  on jsconfig.json file
This commit is contained in:
Armando Aguirre authored and GitHub committed 2018-01-31 11:08:04 -08:00
commit 6435d26510
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -1796,7 +1796,7 @@ namespace ts {
function getDefaultCompilerOptions(configFileName?: string) {
const options: CompilerOptions = getBaseFileName(configFileName) === "jsconfig.json"
? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true }
? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true }
: {};
return options;
}