-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.16
-
None
-
Moderate
-
No
-
False
-
Description of problem:
Every import of react-redux useSelector and useDispatch hooks must have ts and eslint override comments because @types/react-redux is out of sync with the react-redux and there are no type definitions for these hooks.
Version-Release number of selected component (if applicable):
4.16.0
How reproducible:
Steps to Reproduce:
1. Import useSelector or useDispatch hook
Actual results:
A typescript error is shown: "react-redux"' has no exported member named 'useSelector'
Expected results:
These modules can be imported without typescript errors