mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Merge pull request #21505 from armanio123/SetNoEmitTrueJsConfig
Set noEmit = true on jsconfig.json file
This commit is contained in:
3 files changed
+8
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user