Skip to content

Commit fbcd817

Browse files
committed
type update
1 parent 75185e9 commit fbcd817

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,10 @@ export function firebaseStateReducer(...args: any[]): any
494494
/**
495495
* React HOC that attaches/detaches Cloud Firestore listeners on mount/unmount
496496
*/
497-
export function firestoreConnect(...args: FirestoreQueryOptions[]): any
497+
type FirestoreConnectArgs = (
498+
props: any
499+
) => FirestoreQueryOptions[] | FirestoreQueryOptions[]
500+
export function firestoreConnect(FirestoreConnectArgs): any
498501

499502
/**
500503
* Reducer for Firestore state

0 commit comments

Comments
 (0)