提交 064fc7a5 编写于 作者: J Johannes Rieken

api comments, fyi @RMacfarlane

上级 265bd0b5
......@@ -2340,12 +2340,20 @@ declare module 'vscode' {
//#endregion
/**
* TODO@RMacfarlane name
* Secrets
* SecretStorage
* SecretStore
*
* TODO@RMacfarlane jsdoc
*/
export interface SecretState {
/**
* Retrieve a secret that was stored with key. Returns undefined if there
* is no password matching that key.
* @param key The key the password was stored under.
* // TODO@RMacfarlane @returns
*/
get(key: string): Thenable<string | undefined>;
......@@ -2368,6 +2376,9 @@ declare module 'vscode' {
onDidChange: Event<void>;
}
export interface ExtensionContext {
// TODO@RMacfarlane
// secrets: SecretState;
// secretStorages: SecretState;
secretState: SecretState;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册