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:
parent
dac44ec2e0
commit
dc5c271a0c
@ -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 {
|
||||
return scope === StorageScope.GLOBAL ? this.globalStorage : this.workspaceStorage;
|
||||
>>>>>>> e8cd17a97d8c58fffcbac05394b3ee2b3c72d384
|
||||
}
|
||||
|
||||
protected getLogDetails(scope: StorageScope): string | undefined {
|
||||
|
Reference in New Issue
Block a user