File tree 4 files changed +16
-4
lines changed
4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,10 @@ export interface TransactionResult {
164
164
165
165
export interface ThenableReference
166
166
extends Reference ,
167
- Pick < Promise < Reference > , 'then' | 'catch' > { }
167
+ Pick < Promise < Reference > , 'then' | 'catch' > {
168
+ key : string ;
169
+ parent : Reference ;
170
+ }
168
171
169
172
export function enableLogging (
170
173
logger ?: boolean | ( ( a : string ) => any ) ,
Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ export interface DatabaseReference extends Query {
119
119
*/
120
120
export interface ThenableReference
121
121
extends DatabaseReference ,
122
- Pick < Promise < DatabaseReference > , 'then' | 'catch' > { }
122
+ Pick < Promise < DatabaseReference > , 'then' | 'catch' > {
123
+ key : string ;
124
+ parent : DatabaseReference ;
125
+ }
123
126
124
127
/** A callback that can invoked to remove a listener. */
125
128
export type Unsubscribe = ( ) => void ;
Original file line number Diff line number Diff line change @@ -568,7 +568,10 @@ export function onDisconnect(ref: DatabaseReference): OnDisconnect {
568
568
569
569
export interface ThenableReferenceImpl
570
570
extends ReferenceImpl ,
571
- Pick < Promise < ReferenceImpl > , 'then' | 'catch' > { }
571
+ Pick < Promise < ReferenceImpl > , 'then' | 'catch' > {
572
+ key : string ;
573
+ parent : ReferenceImpl ;
574
+ }
572
575
573
576
/**
574
577
* Generates a new child location using a unique key and returns its
Original file line number Diff line number Diff line change @@ -7370,7 +7370,10 @@ declare namespace firebase.database {
7370
7370
7371
7371
interface ThenableReference
7372
7372
extends firebase . database . Reference ,
7373
- Pick < Promise < Reference > , 'then' | 'catch' > { }
7373
+ Pick < Promise < Reference > , 'then' | 'catch' > {
7374
+ key : string ;
7375
+ parent : Reference ;
7376
+ }
7374
7377
7375
7378
/**
7376
7379
* Logs debugging information to the console.
You can’t perform that action at this time.
0 commit comments