mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #26438 from tiangolo/fix-pouchdb-find-existingdocument-result
🐛 PouchDB-find: return ExistingDocument instead of Document
This commit is contained in:
Vendored
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user