Closed mehmetnyarar closed 6 years ago
Make sure you have all typings up to date. The module does not ship with types definitions by itself so you have to use @types/react-intl-redux
. They haven't been updated to exactly match version 2.0.0
but since there were no module API changes they still work fine. I'm using that in my projects and have no issues whatsoever.
@LKay thanks for your response. I currently have:
"redux": "^4.0.0",
"react-redux": "^5.0.7",
"react-intl-redux": "^2.0.0",
"@types/redux": "^3.6.0",
"@types/react-redux": "^6.0.3",
"@types/react-intl-redux": "^0.1.10",
Would you mind sharing your code as an example?
I'm trying to figure out how to use
react-intl-redux
with TypeScript.I've tried this:
But I've got a warning:
Could you please help me out about this?