Add storage save to ide-api

This commit is contained in:
Kyle Carberry
2019-04-09 12:24:53 -04:00
parent a2f20aa25c
commit 3fae68bbab
3 changed files with 7 additions and 2 deletions

View File

@ -136,12 +136,17 @@ interface ICommandRegistry {
registerCommand(command: ICommand): IDisposable;
}
interface IStorageService {
save(): Promise<void>;
}
declare namespace ide {
export const client: {};
export const workbench: {
readonly statusbarService: IStatusbarService;
readonly notificationService: INotificationService;
readonly storageService: IStorageService;
readonly menuRegistry: IMenuRegistry;
readonly commandRegistry: ICommandRegistry;