Skip to content

Commit 29e76c9

Browse files
committed
Addessing even more comments.
1 parent eebb68b commit 29e76c9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/firebase/index.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8293,21 +8293,21 @@ declare namespace firebase.firestore {
82938293
* Loads a Firestore bundle into the local cache.
82948294
*
82958295
* @param bundleData
8296-
* An object representing the bundle to be load. Valid objects are `ArrayBuffer`,
8296+
* An object representing the bundle to be loaded. Valid objects are `ArrayBuffer`,
82978297
* `ReadableStream<Uint8Array>` or `string`.
82988298
*
82998299
* @return
8300-
* A `LoadBundleTask` object, which notifies callers with progress update, and completion
8300+
* A `LoadBundleTask` object, which notifies callers with progress updates, and completion
83018301
* or error events. It can be used as a `Promise<LoadBundleTaskProgress>`.
83028302
*/
83038303
loadBundle(
83048304
bundleData: ArrayBuffer | ReadableStream<Uint8Array> | string
83058305
): LoadBundleTask;
83068306

83078307
/**
8308-
* Reads a Firestore `Query` from local cache that is associated to a given name.
8308+
* Reads a Firestore `Query` from local cache, identified by the given name.
83098309
*
8310-
* The named queries are from bundles. They are packaged into bundles on the server side (along
8310+
* The named queries are packaged into bundles on the server side (along
83118311
* with resulting documents), and loaded to local cache using `loadBundle`. Once in local
83128312
* cache, use this method to extract a `Query` by name.
83138313
*/
@@ -8329,7 +8329,7 @@ declare namespace firebase.firestore {
83298329
/**
83308330
* Registers functions to listen to bundle loading progress events.
83318331
* @param next
8332-
* Called when there is a progress update from bundle loading, typically `next` calls occur
8332+
* Called when there is a progress update from bundle loading. Typically `next` calls occur
83338333
* each time a Firestore document is loaded from the bundle.
83348334
* @param error
83358335
* Called when an error occurs during bundle loading. The task aborts after reporting the
@@ -8347,8 +8347,8 @@ declare namespace firebase.firestore {
83478347
* Implements the `Promise<LoadBundleTaskProgress>.then` interface.
83488348
*
83498349
* @param onFulfilled
8350-
* Called on the completion with a `LoadBundleTaskProgress` update when the
8351-
* loading task completes. The update will have its `taskState` set to `"Success"`.
8350+
* Called on the completion of the loading task with a final `LoadBundleTaskProgress` update.
8351+
* The update will always have its `taskState` set to `"Success"`.
83528352
* @param onRejected
83538353
* Called when an error occurs during bundle loading.
83548354
*/

0 commit comments

Comments
 (0)