Skip to content

Commit 05d6014

Browse files
authored
docs(firestore): fix type in example (#2843)
DocumentSnapshot rather than DocumentChange
1 parent b34b218 commit 05d6014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/firestore/documents.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ A `DocumentChangeAction` gives you the `type` and `payload` properties. The `typ
4545
interface DocumentChangeAction {
4646
//'added' | 'modified' | 'removed';
4747
type: DocumentChangeType;
48-
payload: DocumentChange;
48+
payload: DocumentSnapshot;
4949
}
5050

5151
interface DocumentChange {

0 commit comments

Comments
 (0)