<!-- 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; [id](./firestore_lite.documentsnapshot.id.md)

## DocumentSnapshot.id property

Property of the `DocumentSnapshot` that provides the document's ID.

<b>Signature:</b>

```typescript
get id(): string;
```
