Skip to content

Commit 63ede1f

Browse files
committed
also update TypedUseSelectorHook
1 parent 394208c commit 63ede1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export type ResolveThunks<TDispatchProps> = TDispatchProps extends {
165165
export interface TypedUseSelectorHook<TState> {
166166
<TSelected>(
167167
selector: (state: TState) => TSelected,
168-
equalityFn?: EqualityFn<TSelected>
168+
equalityFn?: EqualityFn<NoInfer<TSelected>>
169169
): TSelected
170170
}
171171

0 commit comments

Comments
 (0)