property 'message' does not exist on type 'object' redux state code example
Example: Property 'state' does not exist on type
Can be multiple reasons. Main ones are missing @types/react in Dependencies
try typing this in the terminal (make sure it's the terminal of the right
folder):
npm install --save-dev @types/react @types/react-dom
--------------------------------------------------------------------------------