voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
21 lines (12 loc) • 899 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [SnapshotListenOptions](./firestore_.snapshotlistenoptions.md)
## SnapshotListenOptions interface
An options object that can be passed to [onSnapshot()](./firestore_.onsnapshot.md) and [QuerySnapshot.docChanges()](./firestore_.querysnapshot.docchanges.md) to control which types of changes to include in the result set.
<b>Signature:</b>
```typescript
export declare interface SnapshotListenOptions
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [includeMetadataChanges?](./firestore_.snapshotlistenoptions.includemetadatachanges.md) | boolean | <i>(Optional)</i> Include a change even if only the metadata of the query or of a document changed. Default is false. |