mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
state service
This commit is contained in:
6
src/abstractions/state.service.ts
Normal file
6
src/abstractions/state.service.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export abstract class StateService {
|
||||
get: <T>(key: string) => Promise<T>;
|
||||
save: (key: string, obj: any) => Promise<any>;
|
||||
remove: (key: string) => Promise<any>;
|
||||
purge: () => Promise<any>;
|
||||
}
|
||||
Reference in New Issue
Block a user