From e967279cfe532ae3375ae9dcb94f4a65af5ffb42 Mon Sep 17 00:00:00 2001 From: Dennis Kugelmann Date: Fri, 16 Feb 2024 21:01:12 +0100 Subject: [PATCH] fix: Add missing type for exposed database id (#1996) Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com> --- types/firestore.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/firestore.d.ts b/types/firestore.d.ts index eaa0d85bd..92d8477ed 100644 --- a/types/firestore.d.ts +++ b/types/firestore.d.ts @@ -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.