Skip to content

Commit

Permalink
also update TypedUseSelectorHook
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored and markerikson committed Nov 4, 2022
1 parent 3b06061 commit 401250e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export type ResolveThunks<TDispatchProps> = TDispatchProps extends {
export interface TypedUseSelectorHook<TState> {
<TSelected>(
selector: (state: TState) => TSelected,
equalityFn?: EqualityFn<TSelected>
equalityFn?: EqualityFn<NoInfer<TSelected>>
): TSelected
}

Expand Down

0 comments on commit 401250e

Please sign in to comment.