From 307c01282bfc9ff985c63096ac25eb07130eb5f3 Mon Sep 17 00:00:00 2001 From: Max Battcher Date: Thu, 8 Jun 2017 20:23:23 -0400 Subject: [PATCH] Reallow heterogeneous query in pouchdb-mapreduce --- types/pouchdb-mapreduce/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/pouchdb-mapreduce/index.d.ts b/types/pouchdb-mapreduce/index.d.ts index 4ecf21d370..4c3d2e8ebf 100644 --- a/types/pouchdb-mapreduce/index.d.ts +++ b/types/pouchdb-mapreduce/index.d.ts @@ -98,17 +98,17 @@ declare namespace PouchDB { * Invoke a map/reduce function, which allows you to perform more complex queries * on PouchDB than what you get with allDocs(). */ - query(fun: string | Map | Filter, opts: Query.Options, callback: Core.Callback>): void; + query(fun: string | Map | Filter, opts: Query.Options, callback: Core.Callback>): void; /** * Invoke a map/reduce function, which allows you to perform more complex queries * on PouchDB than what you get with allDocs(). */ - query(fun: string | Map | Filter, callback: Core.Callback>): void; + query(fun: string | Map | Filter, callback: Core.Callback>): void; /** * Invoke a map/reduce function, which allows you to perform more complex queries * on PouchDB than what you get with allDocs(). */ - query(fun: string | Map | Filter, opts?: Query.Options): Promise>; + query(fun: string | Map | Filter, opts?: Query.Options): Promise>; } }