From b8e0e69fcbc764e8803d0b2917dd588ff3f3dedc Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Mon, 30 Jan 2023 16:33:33 +0100 Subject: [PATCH] [Storage] Make methods properties in definition --- src/def.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/def.d.ts b/src/def.d.ts index 45f2e37..f049537 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -262,11 +262,11 @@ interface VendettaObject { registerCommand: (command: ApplicationCommand) => () => void; }; storage: { - createProxy(target: T): { proxy: T, emitter: Emitter }; - useProxy(storage: T): T; - createStorage(storeName: string): Promise>; - wrapSync>(store: T): Awaited; - awaitSyncWrapper(store: any): Promise; + createProxy: (target: T) => { proxy: T, emitter: Emitter }; + useProxy: (storage: T) => T; + createStorage: (storeName: string) => Promise>; + wrapSync: >(store: T) => Awaited; + awaitSyncWrapper: (store: any) => Promise; }; settings: Settings; logger: Logger;