File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ - [ changed] Updated the typings of the ` admin.database.Query.once() `
4
+ method to return a more specific type.
3
5
- [ changed] Admin SDK can now read the Firebase/GCP project ID from both
4
6
` GCLOUD_PROJECT ` and ` GOOGLE_CLOUD_PROJECT ` environment variables.
5
7
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ declare namespace admin.database {
307
307
successCallback ?: ( a : admin . database . DataSnapshot , b ?: string ) => any ,
308
308
failureCallbackOrContext ?: Object | null ,
309
309
context ?: Object | null
310
- ) : Promise < any > ;
310
+ ) : Promise < admin . database . DataSnapshot > ;
311
311
orderByChild ( path : string ) : admin . database . Query ;
312
312
orderByKey ( ) : admin . database . Query ;
313
313
orderByPriority ( ) : admin . database . Query ;
You can’t perform that action at this time.
0 commit comments