1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

state service

This commit is contained in:
Kyle Spearrin
2018-02-12 15:06:18 -05:00
parent 4960fa18c0
commit 56d941a754
4 changed files with 35 additions and 0 deletions

View 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>;
}