Fix build

This commit is contained in:
Rachel Macfarlane
2020-05-19 16:58:11 -07:00
parent 8e02737abc
commit d1a59226f2
3 changed files with 7 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ export class ExtHostAuthentication implements ExtHostAuthenticationShape {
return !!(await provider.getSessions()).filter(session => session.scopes.sort().join(' ') === orderedScopes).length;
}
async getSession(requestingExtension: IExtensionDescription, providerId: string, scopes: string[], options: vscode.AuthenticationGetSessionOptions & { createIfNone: true }): Promise<vscode.AuthenticationSession2>;
async getSession(requestingExtension: IExtensionDescription, providerId: string, scopes: string[], options: vscode.AuthenticationGetSessionOptions): Promise<vscode.AuthenticationSession2 | undefined> {
const provider = this._authenticationProviders.get(providerId);
if (!provider) {