Skip to content

Commit e2cabe9

Browse files
authored
Merge pull request #16 from tornewuff/patch-1
Fix flow types for firestore
2 parents 89d1661 + af54669 commit e2cabe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore/index.js.flow

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import type {
1010
export type CollectionHook = {
1111
error?: Object,
1212
loading: boolean,
13-
value?: firestore.QuerySnapshot,
13+
value?: QuerySnapshot,
1414
};
1515
export type DocumentHook = {
1616
error?: Object,
1717
loading: boolean,
18-
value?: firestore.DocumentSnapshot,
18+
value?: DocumentSnapshot,
1919
};
2020

2121
declare export function useCollection(

0 commit comments

Comments
 (0)