Skip to content

Commit 1e15aa1

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent af30849 commit 1e15aa1

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

packages/firestore/src/local/local_serializer.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,28 @@ export class LocalSerializer {
7171
if (maybeDoc instanceof Document) {
7272
const doc = this.remoteSerializer.toDocument(maybeDoc);
7373
const hasCommittedMutations = maybeDoc.hasCommittedMutations;
74-
return new DbRemoteDocument(/* unknownDocument= */null, /* noDocument= */null, doc, hasCommittedMutations);
74+
return new DbRemoteDocument(
75+
/* unknownDocument= */ null,
76+
/* noDocument= */ null,
77+
doc,
78+
hasCommittedMutations
79+
);
7580
} else if (maybeDoc instanceof NoDocument) {
7681
const path = maybeDoc.key.path.toArray();
7782
const readTime = this.toDbTimestamp(maybeDoc.version);
7883
return new DbRemoteDocument(
79-
/* unknownDocument= */null,
84+
/* unknownDocument= */ null,
8085
new DbNoDocument(path, readTime),
81-
/* document= */null,
86+
/* document= */ null,
8287
/* hasCommittedMutations= */ false
8388
);
8489
} else if (maybeDoc instanceof UnknownDocument) {
8590
const path = maybeDoc.key.path.toArray();
8691
const readTime = this.toDbTimestamp(maybeDoc.version);
8792
return new DbRemoteDocument(
8893
new DbUnknownDocument(path, readTime),
89-
/* noDocument= */null,
90-
/* document= */null,
94+
/* noDocument= */ null,
95+
/* document= */ null,
9196
/* hasCommittedMutations= */ false
9297
);
9398
} else {

0 commit comments

Comments
 (0)