From 95b77c041ffd928751edbea44a7823895d4311fe Mon Sep 17 00:00:00 2001 From: Wayne Dela Cruz Date: Sun, 4 Mar 2018 15:21:08 +0800 Subject: [PATCH] Add more support for different kinds of queries --- types/mongodb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index 2b67462c7c..28173780a8 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -672,7 +672,7 @@ type FilterQuery = { $bitsAnySet?: Object; [key: string]: any; }; -}; +} | { [key:string]: any }; // Documentation: http://docs.mongodb.org/manual/reference/command/collStats/ export interface CollStats {