mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Do not update typings for project if type aquisition is disabled
This commit is contained in:
@@ -1534,6 +1534,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
|
||||
scheduleUpdate: boolean,
|
||||
): void {
|
||||
if (setTypings) {
|
||||
if (!this.getTypeAcquisition().enable) return;
|
||||
this.typingsCache = {
|
||||
compilerOptions: setTypings.compilerOptions,
|
||||
typeAcquisition: setTypings.typeAcquisition,
|
||||
|
||||
Reference in New Issue
Block a user