Skip to content

Commit 5615d32

Browse files
author
Brian Chen
committed
fix typos + formatting
1 parent f24f33f commit 5615d32

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

packages/firebase/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6064,11 +6064,11 @@ declare namespace firebase.firestore {
60646064
/**
60656065
* Clears the persistent storage.
60666066
*
6067-
* Must be called while the client is not started (after the app is shutdown
6068-
* or when the app is first initialized). On startup, this method must called
6069-
* before other methods (other than settings()). If the client is still
6070-
* running, an exception with the a code of `failed-precondition` will be
6071-
* thrown.
6067+
* Must be called while the client is not started (after the app is
6068+
* shutdown or when the app is first initialized). On startup, this method
6069+
* must be called before other methods (other than settings()). If the
6070+
* client is still running, an exception with a code of `failed-precondition`
6071+
* will be thrown.
60726072
*
60736073
* @return A promise that is resolved once the persistent storage has been
60746074
* cleared. Otherwise, the promise is rejected with an error.

packages/firestore-types/index.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,17 +218,17 @@ export class FirebaseFirestore {
218218
app: any;
219219

220220
/**
221-
* Clears the persistent storage.
222-
*
223-
* Must be called while the client is not started (after the app is shutdown
224-
* or when the app is first initialized). On startup, this method must called
225-
* before other methods (other than settings()). If the client is still
226-
* running, an exception with the a code of `failed-precondition` will be
227-
* thrown.
228-
*
229-
* @return A promise that is resolved once the persistent storage has been
230-
* cleared. Otherwise, the promise rejects with an error.
231-
*/
221+
* Clears the persistent storage.
222+
*
223+
* Must be called while the client is not started (after the app is
224+
* shutdown or when the app is first initialized). On startup, this method
225+
* must be called before other methods (other than settings()). If the
226+
* client is still running, an exception with a code of `failed-precondition`
227+
* will be thrown.
228+
*
229+
* @return A promise that is resolved once the persistent storage has been
230+
* cleared. Otherwise, the promise is rejected with an error.
231+
*/
232232
clearPersistence(): Promise<void>;
233233

234234
/**

0 commit comments

Comments
 (0)