mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #23726 from birtles/patch-1
Add name member to Database interface.
This commit is contained in:
Vendored
+3
@@ -581,6 +581,9 @@ declare namespace PouchDB {
|
||||
}
|
||||
|
||||
interface Database<Content extends {} = {}> {
|
||||
/** The name passed to the PouchDB constructor and unique identifier of the database. */
|
||||
name: string;
|
||||
|
||||
/** Fetch all documents matching the given options. */
|
||||
allDocs<Model>(options?: Core.AllDocsWithKeyOptions | Core.AllDocsWithKeysOptions | Core.AllDocsWithinRangeOptions | Core.AllDocsOptions):
|
||||
Promise<Core.AllDocsResponse<Content & Model>>;
|
||||
|
||||
Reference in New Issue
Block a user