Skip to content

Commit 18e6e3a

Browse files
committed
fix: set type of QuerySnapshot
1 parent 2d84b2b commit 18e6e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/useCollection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const useCollectionInternal = <T = DocumentData>(
6565
options?: Options & OnceOptions
6666
) => {
6767
const { error, loading, reset, setError, setValue, value } = useLoadingValue<
68-
QuerySnapshot,
68+
QuerySnapshot<T>,
6969
FirestoreError
7070
>();
7171
const ref = useIsEqualFirestoreQuery<Query<T>>(query, reset);

0 commit comments

Comments
 (0)