Skip to content

Commit 9179429

Browse files
committed
fix: migrate firestore helpers
1 parent 45a1b93 commit 9179429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from 'firebase/firestore';
66

77
export const snapshotToData = <T = DocumentData>(
8-
snapshot: DocumentSnapshot,
8+
snapshot: DocumentSnapshot<T>,
99
snapshotOptions?: SnapshotOptions,
1010
idField?: string,
1111
refField?: string,

0 commit comments

Comments
 (0)