Skip to content

Commit 89f5237

Browse files
committed
fix: connectAdvanced SelectorFactory type => unknow
1 parent dfa7f3c commit 89f5237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/connectAdvanced.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default function connectAdvanced<
209209
props. Do not use connectAdvanced directly without memoizing results between calls to your
210210
selector, otherwise the Connect component will re-render on every state or props change.
211211
*/
212-
selectorFactory: SelectorFactory<S, TProps, TOwnProps, unknown>,
212+
selectorFactory: SelectorFactory<S, TProps, unknown, unknown>,
213213
// options object:
214214
{
215215
// the func used to compute this HOC's displayName from the wrapped component's displayName.

0 commit comments

Comments
 (0)