UNPKG

sussudio

Version:

An unofficial VS Code Internal API

17 lines (16 loc) 877 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;