fix: AuthenticationGetSessionOptions

pull/31/head^2
洛竹 3 years ago
parent d5dd63dbaa
commit 79a38a3296

4
vscode.d.ts vendored

@ -13796,7 +13796,7 @@ export namespace authentication {
* ID "github" "microsoft" * ID "github" "microsoft"
* @param providerId id * @param providerId id
* @param scopes providerId * @param scopes providerId
* @param options {@link GetSessionOptions} * @param options {@link AuthenticationGetSessionOptions}
* @returns thenable * @returns thenable
*/ */
export function getSession(providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { createIfNone: true }): Thenable<AuthenticationSession>; export function getSession(providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { createIfNone: true }): Thenable<AuthenticationSession>;
@ -13810,7 +13810,7 @@ export namespace authentication {
* ID "github" "microsoft" * ID "github" "microsoft"
* @param providerId id * @param providerId id
* @param scopes providerId * @param scopes providerId
* @param options {@link GetSessionOptions} * @param options {@link AuthenticationGetSessionOptions}
* @returns thenable `undefined` * @returns thenable `undefined`
*/ */
export function getSession(providerId: string, scopes: readonly string[], options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>; export function getSession(providerId: string, scopes: readonly string[], options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;

Loading…
Cancel
Save