Allow passing empty options to getSession, fixes #104078

This commit is contained in:
Rachel Macfarlane
2020-08-05 10:48:02 -07:00
parent 6b93bf3d21
commit 7a4509a6ca
3 changed files with 3 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
get providers(): ReadonlyArray<vscode.AuthenticationProviderInformation> {
return extHostAuthentication.providers;
},
getSession(providerId: string, scopes: string[], options: vscode.AuthenticationGetSessionOptions) {
getSession(providerId: string, scopes: string[], options?: vscode.AuthenticationGetSessionOptions) {
return extHostAuthentication.getSession(extension, providerId, scopes, options as any);
},
logout(providerId: string, sessionId: string): Thenable<void> {