We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a1b93 commit 9179429Copy full SHA for 9179429
firestore/helpers/index.ts
@@ -5,7 +5,7 @@ import {
5
} from 'firebase/firestore';
6
7
export const snapshotToData = <T = DocumentData>(
8
- snapshot: DocumentSnapshot,
+ snapshot: DocumentSnapshot<T>,
9
snapshotOptions?: SnapshotOptions,
10
idField?: string,
11
refField?: string,
0 commit comments