Skip to content

Commit 7dc980b

Browse files
Update .changeset/thirty-flies-flow.md
Co-authored-by: Sebastian Schmidt <[email protected]>
1 parent 1c3ed6b commit 7dc980b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.changeset/thirty-flies-flow.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
"@firebase/database": patch
44
---
55

6-
Added interface `Database` which is implemented by `FirebaseDatabase` to allow the use of interface instead of class for the instance type.
7-
It solves an issue admin SDK encountered where they only want to export the type, but Typescript thinks they are exporting the actual class.
6+
Added interface `Database` which is implemented by `FirebaseDatabase. This allows consumer SDKs (such as the Firebase Admin SDK) to export the database types as an interface.

0 commit comments

Comments
 (0)