1 files changed, 3 insertions, 3 deletions
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<Record<string, unknown>>, opts: {
onlyEvents: boolean;
});
- init(): Promise<void>;
- convertResult(obj: any): any;
+ init: () => Promise<void>;
+ convertResult: (obj: any) => any;
change: (doc: ChangeEvent) => boolean | Promise<any> | undefined;
- destroy(): Promise<any> | undefined;
+ destroy: () => Promise<any> | undefined;
}
|