Skip to content

Commit e799273

Browse files
committed
added promise to get
1 parent 1047052 commit e799273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export interface FirestoreQueryOptions {
188188
interface ReduxFirestoreApi {
189189
// https://github.com/prescottprue/redux-firestore#get
190190
// https://github.com/prescottprue/redux-firestore#get-1
191-
get: (docPath: string | FirestoreQueryOptions) => void
191+
get: (docPath: string | FirestoreQueryOptions) => Promise<void>
192192

193193
// https://github.com/prescottprue/redux-firestore#set
194194
set: (docPath: string | FirestoreQueryOptions, data: Object) => Promise<void>

0 commit comments

Comments
 (0)