mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
convert more service abstractions
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export interface StorageService {
|
||||
get<T>(key: string): Promise<T>;
|
||||
save(key: string, obj: any): Promise<any>;
|
||||
remove(key: string): Promise<any>;
|
||||
export abstract class StorageService {
|
||||
get: <T>(key: string) => Promise<T>;
|
||||
save: (key: string, obj: any) => Promise<any>;
|
||||
remove: (key: string) => Promise<any>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user