File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,12 +170,12 @@ describe('admin.database', () => {
170
170
} ) ;
171
171
} ) ;
172
172
173
- // Check for type compilation. This method is not invoked by any
174
- // tests. But it will trigger a TS compilation failure if the RTDB
175
- // typings were not loaded correctly.
173
+ // Check for type compilation. This method is not invoked by any tests. But it
174
+ // will trigger a TS compilation failure if the RTDB typings were not loaded
175
+ // correctly. (Marked as export to avoid compilation warning.)
176
176
//
177
177
// eslint-disable-next-line @typescript-eslint/no-unused-vars
178
- function addValueEventListener (
178
+ export function addValueEventListener (
179
179
db : admin . database . Database ,
180
180
callback : ( s : admin . database . DataSnapshot | null ) => any ) : void {
181
181
const eventType : admin . database . EventType = 'value' ;
You can’t perform that action at this time.
0 commit comments