UNPKG

sussudio

Version:

An unofficial VS Code Internal API

16 lines (15 loc) 1.28 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IExtensionGalleryService, IExtensionManagementService, IGlobalExtensionEnablementService } from "./extensionManagement.mjs"; import { IExtensionStorageService } from "./extensionStorage.mjs"; import { ILogService } from "../../log/common/log.mjs"; /** * Migrates the installed unsupported nightly extension to a supported pre-release extension. It includes following: * - Uninstall the Unsupported extension * - Install (with optional storage migration) the Pre-release extension only if * - the extension is not installed * - or it is a release version and the unsupported extension is enabled. */ export declare function migrateUnsupportedExtensions(extensionManagementService: IExtensionManagementService, galleryService: IExtensionGalleryService, extensionStorageService: IExtensionStorageService, extensionEnablementService: IGlobalExtensionEnablementService, logService: ILogService): Promise<void>;