Skip to content

Commit 1456277

Browse files
committed
Fix indention.
1 parent 21f5cdf commit 1456277

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

packages/firebase/index.d.ts

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8294,11 +8294,13 @@ declare namespace firebase.firestore {
82948294
/**
82958295
* Loads a Firestore bundle into the local cache.
82968296
*
8297-
* @param bundleData An object representing the bundle to be load, could be a `ArrayBuffer`,
8298-
* a `ReadableStream<Uint8Array>` or a `string`.
8297+
* @param bundleData
8298+
* An object representing the bundle to be load, could be a `ArrayBuffer`,
8299+
* a `ReadableStream<Uint8Array>` or a `string`.
82998300
*
8300-
* @return A `LoadBundleTask` object, which notifies callers with progress update, completion
8301-
* or error event. It can be used as a `Promise<LoadBundleTaskProgress>`.
8301+
* @return
8302+
* A `LoadBundleTask` object, which notifies callers with progress update, completion
8303+
* or error event. It can be used as a `Promise<LoadBundleTaskProgress>`.
83028304
*/
83038305
loadBundle(
83048306
bundleData: ArrayBuffer | ReadableStream<Uint8Array> | string
@@ -8328,11 +8330,14 @@ declare namespace firebase.firestore {
83288330
export interface LoadBundleTask extends PromiseLike<LoadBundleTaskProgress> {
83298331
/**
83308332
* Registers functions to listen to bundle loading progresses.
8331-
* @param next Called there is a progress update from bundle loading, typically whenever
8332-
* a Firestore document is loaded it will generate a progress update.
8333-
* @param error Called when there is an error occurred from loading the bundle. The task
8334-
* aborts after reporting the error, and there should be no more updates after this.
8335-
* @param complete Called when the loading task is complete.
8333+
* @param next
8334+
* Called there is a progress update from bundle loading, typically whenever
8335+
* a Firestore document is loaded it will generate a progress update.
8336+
* @param error
8337+
* Called when there is an error occurred from loading the bundle. The task
8338+
* aborts after reporting the error, and there should be no more updates after this.
8339+
* @param complete
8340+
* Called when the loading task is complete.
83368341
*/
83378342
onProgress(
83388343
next?: (progress: LoadBundleTaskProgress) => any,
@@ -8343,9 +8348,11 @@ declare namespace firebase.firestore {
83438348
/**
83448349
* Implements the `Promise<LoadBundleTaskProgress>.then` interface.
83458350
*
8346-
* @param onFulfilled It is called with the compeltion `LoadBundleTaskProgress` when the
8347-
* loading task completes.
8348-
* @param onRejected It is called when there is an error occurred from loading the bundle.
8351+
* @param onFulfilled
8352+
* It is called with the compeltion `LoadBundleTaskProgress` when the
8353+
* loading task completes.
8354+
* @param onRejected
8355+
* It is called when there is an error occurred from loading the bundle.
83498356
*/
83508357
then<T, R>(
83518358
onFulfilled?: (a: LoadBundleTaskProgress) => T | PromiseLike<T>,
@@ -8355,7 +8362,8 @@ declare namespace firebase.firestore {
83558362
/**
83568363
* Implements the `Promise<LoadBundleTaskProgress>.catch` interface.
83578364
*
8358-
* @param onRejected It is called when there is an error occurred from loading the bundle.
8365+
* @param onRejected
8366+
* It is called when there is an error occurred from loading the bundle.
83598367
*/
83608368
catch<R>(
83618369
onRejected: (a: Error) => R | PromiseLike<R>

0 commit comments

Comments
 (0)