<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [lite](./firestore_lite.md) &gt; [DocumentSnapshot](./firestore_lite.documentsnapshot.md) &gt; [ref](./firestore_lite.documentsnapshot.ref.md)

## DocumentSnapshot.ref property

The `DocumentReference` for the document included in the `DocumentSnapshot`<!-- -->.

<b>Signature:</b>

```typescript
get ref(): DocumentReference<T>;
```
