We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501bfb5 commit e9258b8Copy full SHA for e9258b8
src/server/project.ts
@@ -636,6 +636,9 @@ namespace ts.server {
636
this.cachedUnresolvedImportsPerFile.clear();
637
this.lastCachedUnresolvedImportsList = undefined;
638
}
639
+ if (this.projectKind === ProjectKind.Inferred || this.projectKind === ProjectKind.Configured) {
640
+ compilerOptions.noEmitForJsFiles = true;
641
+ }
642
this.compilerOptions = compilerOptions;
643
this.lsHost.setCompilationSettings(compilerOptions);
644
0 commit comments