[Storage] Add new API to window definition
This commit is contained in:
parent
48edf97b9a
commit
89b726cd97
1 changed files with 1 additions and 0 deletions
1
src/def.d.ts
vendored
1
src/def.d.ts
vendored
|
@ -266,6 +266,7 @@ interface VendettaObject {
|
|||
useProxy<T>(storage: T): T;
|
||||
createStorage<T>(storeName: string): Promise<Awaited<T>>;
|
||||
wrapSync<T extends Promise<any>>(store: T): Awaited<T>;
|
||||
awaitSyncWrapper(store: any): Promise<void>;
|
||||
};
|
||||
settings: Settings;
|
||||
logger: Logger;
|
||||
|
|
Loading…
Reference in a new issue