-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
Generic type 'ThunkAction' requires 4 type argument(s). #88
Comments
Workaround is to install
|
with version 2.1.2 im still getting :Generic type 'Dispatch<A, S>' requires 2 type argument(s). |
This is probably unrelated to that change though. Do you have a full trace ? @jguipi |
For some reason i modify the code to add an extra argument again and it worked. I dont know why it worked this time but i'm good now. I made the line 53 look like this: export function setTranslations(translations: ITranslations, languageOrOptions?: IlanguageOrOptions | string): ThunkAction<any, any, any, any> |
I'm using typescript and when I added your library to my projet I got this error and it wont compile.
Even if I modify the code to add an argument It wont compile. Here's the error :
C:/Users/xxxxx/dev/react_project/node_modules/redux-i18n/index.d.ts
(53,116): Generic type 'ThunkAction' requires 4 type argument(s).
Here's my dependencies :
The text was updated successfully, but these errors were encountered: