Skip to content

Commit 4248110

Browse files
Fix comments
1 parent 60970fd commit 4248110

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/firestore/src/api/database.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ export class SnapshotMetadata implements PublicSnapshotMetadata {
999999
* True if the snapshot contains the result of local writes (for example
10001000
* `set()` or `update()` calls) that have not yet been committed to the
10011001
* backend. If your listener has opted into metadata updates (via
1002-
* `PublicSnapshotListenOptions`) you will receive another snapshot with
1002+
* `SnapshotListenOptions`) you will receive another snapshot with
10031003
* `hasPendingWrites` equal to false once the writes have been committed to
10041004
* the backend.
10051005
*/
@@ -1008,7 +1008,7 @@ export class SnapshotMetadata implements PublicSnapshotMetadata {
10081008
/**
10091009
* True if the snapshot was created from cached data rather than guaranteed
10101010
* up-to-date server data. If your listener has opted into metadata updates
1011-
* (via `PublicSnapshotListenOptions`) you will receive another snapshot with
1011+
* (via `SnapshotListenOptions`) you will receive another snapshot with
10121012
* `fromCache` set to false once the client has received up-to-date data from
10131013
* the backend.
10141014
*/
@@ -2115,10 +2115,10 @@ function resultChangeType(type: ChangeType): PublicDocumentChangeType {
21152115
}
21162116

21172117
/**
2118-
* Converts custom model object of type T into PublicDocumentData by applying the
2118+
* Converts custom model object of type T into DocumentData by applying the
21192119
* converter if it exists.
21202120
*
2121-
* This function is used when converting user objects to PublicDocumentData
2121+
* This function is used when converting user objects to DocumentData
21222122
* because we want to provide the user with a more specific error message if
21232123
* their set() or fails due to invalid data originating from a toFirestore()
21242124
* call.

0 commit comments

Comments
 (0)