fix(lib/vscode): replace doStore with getSotrage

Inside the class BrowserStorageService, it looks like they replaced doStore with
getStorage.

However, at the time of writing this message, I am getting a TypeScript error
saying:
> Non-abstract class 'BrowserStorageService' does not implement inherited
> abstract member 'doStore' from class 'AbstractStorageService'.

Hopefully that will be disappear after I fix other errors.
This commit is contained in:
Joe Previte 2021-03-11 10:56:16 -07:00
parent dac44ec2e0
commit dc5c271a0c
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
1 changed files with 0 additions and 5 deletions

View File

@ -82,13 +82,8 @@ export class BrowserStorageService extends AbstractStorageService {
} }
} }
<<<<<<< HEAD
protected doStore(key: string, value: string | boolean | number | undefined | null, scope: StorageScope): Promise<void> {
return this.getStorage(scope).set(key, value);
=======
protected getStorage(scope: StorageScope): IStorage | undefined { protected getStorage(scope: StorageScope): IStorage | undefined {
return scope === StorageScope.GLOBAL ? this.globalStorage : this.workspaceStorage; return scope === StorageScope.GLOBAL ? this.globalStorage : this.workspaceStorage;
>>>>>>> e8cd17a97d8c58fffcbac05394b3ee2b3c72d384
} }
protected getLogDetails(scope: StorageScope): string | undefined { protected getLogDetails(scope: StorageScope): string | undefined {