Fix bulkDocs signature with Promise response

This commit is contained in:
Nao Ohira
2016-09-19 21:09:57 +02:00
parent 3c807897dd
commit 0fa2d35931
+1 -1
View File
@@ -272,7 +272,7 @@ declare namespace PouchDB {
options: Core.PutOptions | void,
callback: Core.Callback<Core.Error, Core.Response[]>): void;
bulkDocs(docs: Core.Document<Content>[],
options: Core.PutOptions | void): Promise<Core.Response[]>;
options?: Core.PutOptions): Promise<Core.Response[]>;
/** Compact the database */
compact(options?: Core.CompactOptions): Promise<Core.Response>;