From 8ac73a70cdfb48e073d03d46554214955c45fc9d Mon Sep 17 00:00:00 2001 From: Jay Wolfe Date: Fri, 28 Dec 2018 16:51:32 -0500 Subject: [PATCH] missed distinct --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c7b83bba..c07f411b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -58,7 +58,7 @@ declare module 'monk' { callback?: (err: Error | null, data: string) => void ): void distinct(field: string, query?: TQuery, options?: Object): Promise - distinct(field: string, query?: TQuery, options?: Object): Promise + distinct(field: string, query?: TQuery, options?: Object, callback?: (err: Error | null, data: number) => void): void drop(): Promise<'ns not found' | true> drop(callback?: (err: Error | null, data: 'ns not found' | true) => void): void dropIndex(