Skip to content

Commit

Permalink
fix: type of QuerySnapshot.docChanges() should be generic (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Apr 28, 2021
1 parent d7a9f44 commit 3ed1929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/firestore.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ declare namespace FirebaseFirestore {
* this is the first snapshot, all documents will be in the list as added
* changes.
*/
docChanges(): DocumentChange[];
docChanges(): DocumentChange<T>[];

/**
* Enumerates all of the documents in the QuerySnapshot.
Expand Down

0 comments on commit 3ed1929

Please sign in to comment.