sussudio
Version:
An unofficial VS Code Internal API
11 lines (10 loc) • 662 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;
}