[Storage] Add new API to window definition

This commit is contained in:
redstonekasi 2023-01-30 14:59:13 +01:00 committed by Beef
parent 48edf97b9a
commit 89b726cd97

1
src/def.d.ts vendored
View file

@ -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;