quodolores
Version:
Monorepo for the Firebase JavaScript SDK
21 lines (12 loc) • 911 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [PersistenceSettings](./firestore_.persistencesettings.md)
## PersistenceSettings interface
Settings that can be passed to `enableIndexedDbPersistence()` to configure Firestore persistence.
<b>Signature:</b>
```typescript
export declare interface PersistenceSettings
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [forceOwnership?](./firestore_.persistencesettings.forceownership.md) | boolean | <i>(Optional)</i> Whether to force enable persistence for the client. This cannot be used with multi-tab synchronization and is primarily intended for use with Web Workers. Setting this to <code>true</code> will enable persistence, but cause other tabs using persistence to fail. |