When generating a tsconfig with checkJs, make sure we also set allowJs
For #87972
This commit is contained in:
parent
f105af6007
commit
629a08ed62
|
@ -24,6 +24,9 @@ export function inferredProjectCompilerOptions(
|
|||
|
||||
if (serviceConfig.checkJs) {
|
||||
projectConfig.checkJs = true;
|
||||
if (isTypeScriptProject) {
|
||||
projectConfig.allowJs = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (serviceConfig.experimentalDecorators) {
|
||||
|
|
Loading…
Reference in a new issue