@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
12 lines (10 loc) • 654 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export declare const IStateService: import('../../instantiation/common/instantiation.mjs').ServiceIdentifier<IStateService>;
export interface IStateService {
readonly _serviceBrand: undefined;
getItem<T>(key: string, defaultValue: T): T;
getItem<T>(key: string, defaultValue?: T): T | undefined;
}