From 1154dcc38e07c36ff6e366d934367c61b29e6edf Mon Sep 17 00:00:00 2001 From: Rachel Macfarlane Date: Wed, 13 May 2020 17:27:20 -0700 Subject: [PATCH] Fix options type in getSession --- src/vs/workbench/api/common/extHost.api.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index d7acec22c23..59926ad7adf 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -199,7 +199,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I hasSessions(providerId: string, scopes: string[]): Thenable { return extHostAuthentication.hasSessions(providerId, scopes); }, - getSession(providerId: string, scopes: string[], options: vscode.authentication.GetSessionOptions): Thenable { + getSession(providerId: string, scopes: string[], options: vscode.AuthenticationGetSessionOptions): Thenable { return extHostAuthentication.getSession(extension, providerId, scopes, options); }, getSessions(providerId: string, scopes: string[]): Thenable {