mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Fix bulkDocs signature with Promise response
This commit is contained in:
Vendored
+1
-1
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user