Skip to content

Commit 01da30b

Browse files
authored
fix fromCache description (#2558)
1 parent 0602d91 commit 01da30b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/firebase/index.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8046,11 +8046,10 @@ declare namespace firebase.firestore {
80468046
readonly hasPendingWrites: boolean;
80478047

80488048
/**
8049-
* True if the snapshot includes local writes (`set()` or
8050-
* `update()` calls) that haven't been committed to the backend yet.
8051-
* If your listener has opted into
8052-
* metadata updates (via `SnapshotListenOptions`)
8053-
* you will receive another snapshot with `fromCache` equal to false once
8049+
* True if the snapshot was created from cached data rather than guaranteed
8050+
* up-to-date server data. If your listener has opted into metadata updates
8051+
* (via `SnapshotListenOptions`)
8052+
* you will receive another snapshot with `fromCache` set to false once
80548053
* the client has received up-to-date data from the backend.
80558054
*/
80568055
readonly fromCache: boolean;

0 commit comments

Comments
 (0)