@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface TreeViewCollection<TUses>

    Records tree views created at activation. Declared dependencies are resolved through the Application container and the provider is created once while the Module binds, so disposable transient dependencies have Application lifetime. The Module RegistrationScope owns the native view and also calls the provider's synchronous dispose when the provider exposes one.

    The dependency-declaring overload is listed first: overload resolution takes the first match, and the no-dependency shape would otherwise absorb the call.

    interface TreeViewCollection<TUses extends ServiceMap = Record<never, never>> {
        add<TMap extends Readonly<Record<string, ServiceToken<unknown>>>>(
            definition: {
                id: string;
                inject: TMap;
                options?: TreeViewOptionsLike;
                resolveProvider: (injected: Injected<TUses & TMap>) => unknown;
            },
        ): void;
        add(
            definition: {
                id: string;
                options?: TreeViewOptionsLike;
                resolveProvider: (injected: Injected<TUses>) => unknown;
            },
        ): void;
    }

    Type Parameters

    Index