Skip to content

Commit

Permalink
fix: Add missing type for exposed database id (#1996)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
  • Loading branch information
IchordeDionysos and MarkDuckworth committed Feb 16, 2024
1 parent d964a13 commit e967279
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/firestore.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@ declare namespace FirebaseFirestore {
*/
settings(settings: Settings): void;

/**
* Returns the Database ID for this Firestore instance.
*/
get databaseId(): string;

/**
* Gets a `CollectionReference` instance that refers to the collection at
* the specified path.
Expand Down

0 comments on commit e967279

Please sign in to comment.