File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' firebase ' : patch
3
+ ---
4
+
5
+ Fix typings for v10
Original file line number Diff line number Diff line change @@ -5819,7 +5819,7 @@ declare namespace firebase.database {
5819
5819
* returning true.
5820
5820
*/
5821
5821
forEach (
5822
- action : ( a : firebase . database . IteratorDataSnapshot ) => boolean | void
5822
+ action : ( a : firebase . database . IteratedDataSnapshot ) => boolean | void
5823
5823
) : boolean ;
5824
5824
/**
5825
5825
* Gets the priority value of the data in this `DataSnapshot`.
@@ -5998,6 +5998,10 @@ declare namespace firebase.database {
5998
5998
toJSON ( ) : Object | null ;
5999
5999
}
6000
6000
6001
+ interface IteratedDataSnapshot extends DataSnapshot {
6002
+ key : string ; // key of the location of this snapshot.
6003
+ }
6004
+
6001
6005
/**
6002
6006
* The Firebase Database service interface.
6003
6007
*
You can’t perform that action at this time.
0 commit comments