You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
ERROR
No overload matches this call.
Overload 1 of 4, '(reducer: Reducer<ProviderState, Reducers, any[], NewGlobalState<ProviderState>>): Dispatcher<ProviderState, any[]>', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'Reducer<ProviderState, Reducers, any[], NewGlobalState<ProviderState>>'.
Overload 2 of 4, '(reducer: never): Dispatcher<ProviderState, never>', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'never'.
The text was updated successfully, but these errors were encountered:
fny
changed the title
Use Dispatch
Provider.useDispatch Errors with TypeScript
Oct 30, 2020
The types for Provider.useDispatch seem broken.
The text was updated successfully, but these errors were encountered: