Improve settings storage

- add error reporting
- refactor
This commit is contained in:
Thomas Nordquist
2019-02-17 21:02:17 +01:00
parent 0ad91872a1
commit 9207af0aaa
17 changed files with 133 additions and 66 deletions

View File

@@ -5,8 +5,9 @@ interface StorageEvent {
}
export interface StoreCommand extends StorageEvent {
store: string,
data: any
store?: string,
data?: any
error?: any
}
export interface LoadCommand extends StorageEvent {