UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

21 lines (19 loc) 867 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IExtensionManifest } from '../../extensions/common/extensions.mjs'; export interface IActivationEventsGenerator<T> { ( contributions: T[], result: { push(item: string): void; }, ): void; } export declare class ImplicitActivationEventsImpl { private readonly _generators; register<T>(extensionPointName: string, generator: IActivationEventsGenerator<T>): void; updateManifest(manifest: IExtensionManifest): void; } export declare const ImplicitActivationEvents: ImplicitActivationEventsImpl;