diff --git a/types/pouchdb-core/index.d.ts b/types/pouchdb-core/index.d.ts index 59e5650e62..af9fed83a2 100644 --- a/types/pouchdb-core/index.d.ts +++ b/types/pouchdb-core/index.d.ts @@ -581,6 +581,9 @@ declare namespace PouchDB { } interface Database { + /** The name passed to the PouchDB constructor and unique identifier of the database. */ + name: string; + /** Fetch all documents matching the given options. */ allDocs(options?: Core.AllDocsWithKeyOptions | Core.AllDocsWithKeysOptions | Core.AllDocsWithinRangeOptions | Core.AllDocsOptions): Promise>;