Skip to content

Commit

Permalink
docs(firestore): fix type in example (#2843)
Browse files Browse the repository at this point in the history
DocumentSnapshot rather than DocumentChange
obumnwabude authored Aug 19, 2021
1 parent b34b218 commit 05d6014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/firestore/documents.md
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ A `DocumentChangeAction` gives you the `type` and `payload` properties. The `typ
interface DocumentChangeAction {
//'added' | 'modified' | 'removed';
type: DocumentChangeType;
payload: DocumentChange;
payload: DocumentSnapshot;
}

interface DocumentChange {

0 comments on commit 05d6014

Please sign in to comment.