Merge pull request #26438 from tiangolo/fix-pouchdb-find-existingdocument-result

🐛 PouchDB-find: return ExistingDocument instead of Document
This commit is contained in:
Nathan Shively-Sanders
2018-06-20 12:43:41 -07:00
committed by GitHub
+2 -1
View File
@@ -1,6 +1,7 @@
// Type definitions for pouchdb-find 6.3
// Project: https://pouchdb.com/
// Definitions by: Jakub Navratil <https://github.com/trubit>
// Sebastian Ramirez <https://github.com/tiangolo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -100,7 +101,7 @@ declare namespace PouchDB {
}
interface FindResponse<Content extends {}> {
docs: Array<Core.Document<Content>>;
docs: Array<Core.ExistingDocument<Content>>;
}
interface CreateIndexOptions {