File tree 1 file changed +5
-5
lines changed
packages/firestore/src/model
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,9 @@ export abstract class FieldValue {
126
126
abstract isEqual ( other : FieldValue ) : boolean ;
127
127
abstract compareTo ( other : FieldValue ) : number ;
128
128
129
- /**
130
- * Returns the approximate (and wildly inaccurate) in-memory size of the field
131
- * value.
129
+ /**
130
+ * Returns an approximate (and wildly inaccurate) in-memory size for the field
131
+ * value.
132
132
*/
133
133
abstract byteSize ( ) : number ;
134
134
@@ -374,7 +374,7 @@ export class TimestampValue extends FieldValue {
374
374
}
375
375
376
376
byteSize ( ) : number {
377
- // Timestamps are made up of two distinct numbers (seconds/ nanoseconds)
377
+ // Timestamps are made up of two distinct numbers (seconds + nanoseconds)
378
378
return 8 ;
379
379
}
380
380
}
@@ -543,7 +543,7 @@ export class GeoPointValue extends FieldValue {
543
543
}
544
544
545
545
byteSize ( ) : number {
546
- // GeoPoints are made up of two distinct numbers (latitude/ longitude)
546
+ // GeoPoints are made up of two distinct numbers (latitude + longitude)
547
547
return 8 ;
548
548
}
549
549
}
You can’t perform that action at this time.
0 commit comments