Skip to content

Commit e1de706

Browse files
committed
Do not update typings for project if type aquisition is disabled
1 parent e3bee90 commit e1de706

4 files changed

Lines changed: 1225 additions & 44 deletions

src/server/project.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
15341534
scheduleUpdate: boolean,
15351535
): void {
15361536
if (setTypings) {
1537+
if (!this.getTypeAcquisition().enable) return;
15371538
this.typingsCache = {
15381539
compilerOptions: setTypings.compilerOptions,
15391540
typeAcquisition: setTypings.typeAcquisition,

0 commit comments

Comments
 (0)