提交 56e54062 编写于 作者: S Sandeep Somavarapu

inline syncedKeys and remove SyncedMemento type

上级 4881aed1
......@@ -2181,20 +2181,16 @@ declare module 'vscode' {
//#endregion
//#region Syncing Extension's Global State https://github.com/microsoft/vscode/issues/95209 @sandy081
export interface ExtensionContext {
readonly syncedGlobalState: SyncedMemento;
}
export interface SyncedMemento extends Memento {
/**
* List of keys whose values should be synced across devices when extensions synchronization is enabled .
* Set synced keys to an empty array to unset the synced state.
*/
syncedKeys: ReadonlyArray<string>;
readonly syncedGlobalState: Memento & {
/**
* List of keys whose values should be synced across devices when extensions synchronization is enabled .
* Set synced keys to an empty array to unset the synced state.
*/
syncedKeys: ReadonlyArray<string>;
};
}
//#endregion
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册