File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " firebase " : patch
3
+ " @firebase/storage-types " : patch
4
+ " @firebase/storage " : patch
5
+ ---
6
+
7
+ [ fix] Updated the TypeScript types for all APIs using Observers to allow callback omission.
Original file line number Diff line number Diff line change @@ -7579,7 +7579,7 @@ declare namespace firebase.storage {
7579
7579
on (
7580
7580
event : firebase . storage . TaskEvent ,
7581
7581
nextOrObserver ?:
7582
- | firebase . Observer < UploadTaskSnapshot >
7582
+ | Partial < firebase . Observer < UploadTaskSnapshot > >
7583
7583
| null
7584
7584
| ( ( a : UploadTaskSnapshot ) => any ) ,
7585
7585
error ?: ( ( a : Error ) => any ) | null ,
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export interface UploadTask {
91
91
on (
92
92
event : TaskEvent ,
93
93
nextOrObserver ?:
94
- | Observer < UploadTaskSnapshot >
94
+ | Partial < Observer < UploadTaskSnapshot > >
95
95
| null
96
96
| ( ( a : UploadTaskSnapshot ) => any ) ,
97
97
error ?: ( ( a : Error ) => any ) | null ,
You can’t perform that action at this time.
0 commit comments