File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -6060,6 +6060,13 @@ declare namespace firebase.firestore {
6060
6060
*/
6061
6061
app : firebase . app . App ;
6062
6062
6063
+ /**
6064
+ * Clears the persistence cache. This can only be called when the client is not running.
6065
+ *
6066
+ * @return A promise that is resolved once the persistence has been cleared.
6067
+ */
6068
+ clearPersistence ( ) : Promise < void > ;
6069
+
6063
6070
/**
6064
6071
* Re-enables use of the network for this Firestore instance after a prior
6065
6072
* call to {@link firebase.firestore.Firestore.disableNetwork
Original file line number Diff line number Diff line change @@ -216,6 +216,13 @@ export class FirebaseFirestore {
216
216
*/
217
217
app : any ;
218
218
219
+ /**
220
+ * Clears the persistence cache. This can only be called when the client is not running.
221
+ *
222
+ * @return A promise that is resolved once the persistence has been cleared.
223
+ */
224
+ clearPersistence ( ) : Promise < void > ;
225
+
219
226
/**
220
227
* Re-enables use of the network for this Firestore instance after a prior
221
228
* call to disableNetwork().
You can’t perform that action at this time.
0 commit comments