From e5f408be0889562f6fa36ac1bb1730e50bf1951f Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 6 Apr 2021 03:56:19 +0200 Subject: :bug: fix Database --- dist/util/Database.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist/util/Database.d.ts') diff --git a/dist/util/Database.d.ts b/dist/util/Database.d.ts index dcb9bc90..766efaef 100644 --- a/dist/util/Database.d.ts +++ b/dist/util/Database.d.ts @@ -22,8 +22,8 @@ export declare class MongooseCache extends EventEmitter { constructor(collection: Collection, pipeline: Array>, opts: { onlyEvents: boolean; }); - init(): Promise; - convertResult(obj: any): any; + init: () => Promise; + convertResult: (obj: any) => any; change: (doc: ChangeEvent) => boolean | Promise | undefined; - destroy(): Promise | undefined; + destroy: () => Promise | undefined; } -- cgit 1.5.1