From 0fa2d359311a996084dc3bb67a80365992e3ba42 Mon Sep 17 00:00:00 2001 From: Nao Ohira Date: Mon, 19 Sep 2016 21:09:57 +0200 Subject: [PATCH] Fix bulkDocs signature with Promise response --- pouchdb-core/pouchdb-core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pouchdb-core/pouchdb-core.d.ts b/pouchdb-core/pouchdb-core.d.ts index 2fa4737fa6..cdd078f54f 100644 --- a/pouchdb-core/pouchdb-core.d.ts +++ b/pouchdb-core/pouchdb-core.d.ts @@ -272,7 +272,7 @@ declare namespace PouchDB { options: Core.PutOptions | void, callback: Core.Callback): void; bulkDocs(docs: Core.Document[], - options: Core.PutOptions | void): Promise; + options?: Core.PutOptions): Promise; /** Compact the database */ compact(options?: Core.CompactOptions): Promise;