voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
14 lines (8 loc) • 481 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [DocumentSnapshot](./firestore_.documentsnapshot.md) > [ref](./firestore_.documentsnapshot.ref.md)
## DocumentSnapshot.ref property
The `DocumentReference` for the document included in the `DocumentSnapshot`<!-- -->.
<b>Signature:</b>
```typescript
get ref(): DocumentReference<T>;
```