Skip to content

Commit e510af7

Browse files
authored
Fix accidental reversion due to bad merge (#1672)
1 parent 524b9aa commit e510af7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/firebase/index.d.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5721,7 +5721,10 @@ declare namespace firebase.storage {
57215721
*/
57225722
on(
57235723
event: firebase.storage.TaskEvent,
5724-
nextOrObserver?: firebase.Observer<any> | null | ((a: Object) => any),
5724+
nextOrObserver?:
5725+
| firebase.Observer<UploadTaskSnapshot>
5726+
| null
5727+
| ((a: UploadTaskSnapshot) => any),
57255728
error?: ((a: Error) => any) | null,
57265729
complete?: (firebase.Unsubscribe) | null
57275730
): Function;
@@ -7209,14 +7212,14 @@ declare namespace firebase.firestore {
72097212
/**
72107213
* Returns a special value that can be used with `set()` or `update()` that tells
72117214
* the server to increment the field's current value by the given value.
7212-
*
7215+
*
72137216
* If either the operand or the current field value uses floating point precision,
72147217
* all arithmetic follows IEEE 754 semantics. If both values are integers,
72157218
* values outside of JavaScript's safe number range (`Number.MIN_SAFE_INTEGER` to
72167219
* `Number.MAX_SAFE_INTEGER`) are also subject to precision loss. Furthermore,
72177220
* once processed by the Firestore backend, all integer operations are capped
72187221
* between -2^63 and 2^63-1.
7219-
*
7222+
*
72207223
* If the current field value is not of type `number`, or if the field does not
72217224
* yet exist, the transformation sets the field to the given value.
72227225
*

0 commit comments

Comments
 (0)