Skip to content

Commit 1a62f34

Browse files
committed
[database] Another flow fix
1 parent b29a243 commit 1a62f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/index.js.flow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ export type ObjectValHook<T> = {
2323
};
2424

2525
declare export function useList(query: Query): ListHook;
26-
declare export function useListVal<T>(query: Query, keyField?: string): ListHook;
26+
declare export function useListVal<T>(query: Query, keyField?: string): ListValHook<T>;
2727
declare export function useObject(query: Query): ObjectHook;
2828
declare export function useObjectVal<T>(query: Query): ObjectValHook<T>;

0 commit comments

Comments
 (0)