Skip to content

Commit e6a786f

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent c0a86af commit e6a786f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/firestore/src/model/field_value.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ export abstract class FieldValue {
126126
abstract isEqual(other: FieldValue): boolean;
127127
abstract compareTo(other: FieldValue): number;
128128

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.
132132
*/
133133
abstract byteSize(): number;
134134

@@ -374,7 +374,7 @@ export class TimestampValue extends FieldValue {
374374
}
375375

376376
byteSize(): number {
377-
// Timestamps are made up of two distinct numbers (seconds/nanoseconds)
377+
// Timestamps are made up of two distinct numbers (seconds + nanoseconds)
378378
return 8;
379379
}
380380
}
@@ -543,7 +543,7 @@ export class GeoPointValue extends FieldValue {
543543
}
544544

545545
byteSize(): number {
546-
// GeoPoints are made up of two distinct numbers (latitude/longitude)
546+
// GeoPoints are made up of two distinct numbers (latitude + longitude)
547547
return 8;
548548
}
549549
}

0 commit comments

Comments
 (0)