Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit e967279

Browse files
fix: Add missing type for exposed database id (#1996)
Co-authored-by: Mark Duckworth <[email protected]>
1 parent d964a13 commit e967279

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

types/firestore.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,11 @@ declare namespace FirebaseFirestore {
510510
*/
511511
settings(settings: Settings): void;
512512

513+
/**
514+
* Returns the Database ID for this Firestore instance.
515+
*/
516+
get databaseId(): string;
517+
513518
/**
514519
* Gets a `CollectionReference` instance that refers to the collection at
515520
* the specified path.

0 commit comments

Comments
 (0)