From 05d6014c4f91db204830d5273203b06a1ff1cbb5 Mon Sep 17 00:00:00 2001 From: Obumuneme Nwabude Date: Thu, 19 Aug 2021 16:16:12 +0100 Subject: [PATCH] docs(firestore): fix type in example (#2843) DocumentSnapshot rather than DocumentChange --- docs/firestore/documents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/firestore/documents.md b/docs/firestore/documents.md index 3bae4343a..fdadc04c9 100644 --- a/docs/firestore/documents.md +++ b/docs/firestore/documents.md @@ -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 {