summary refs log tree commit diff
path: root/dist/util/Database.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 03:56:19 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 03:56:19 +0200
commite5f408be0889562f6fa36ac1bb1730e50bf1951f (patch)
tree2e083dd44f11ea97b81fc3864657642e899547f5 /dist/util/Database.d.ts
parent:sparkles: save private data in user.user_data (diff)
downloadserver-e5f408be0889562f6fa36ac1bb1730e50bf1951f.tar.xz
:bug: fix Database
Diffstat (limited to 'dist/util/Database.d.ts')
-rw-r--r--dist/util/Database.d.ts6
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; }