In the [reference docs]( https://firebase.google.com/docs/reference/functions/functions.firestore.DeltaDocumentSnapshot#data) it says that the DeltaDocumentSnapshot `data` method returns a DeltaDocumentSnapshot. The text is correct I guess, just not the return type. According to the source code it is `any`.