We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, Can we change this line in redux-toolkit/packages/toolkit/src/listenerMiddleware/types.ts to this
withTypes: < OverrideStateType extends StateType, OverrideDispatchType extends ReduxDispatch = ThunkDispatch< OverrideStateType, unknown, UnknownAction >, >() => TypedStartListening<OverrideStateType, OverrideDispatchType, ExtraArgument>
just add ExtraArgument, to have it inherited. Because for now, the ExtraArgument type is losing while creating like
ExtraArgument
export const startAppListening = listenerMiddleware.startListening.withTypes< RootState, AppDispatch >()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
Can we change this line in redux-toolkit/packages/toolkit/src/listenerMiddleware/types.ts to this
just add
ExtraArgument
, to have it inherited.Because for now, the
ExtraArgument
type is losing while creating likeThe text was updated successfully, but these errors were encountered: