I am currently getting this error when importing react-dnd:
Could not find a declaration file for module 'react-dnd'. 'node_modules/react-dnd/lib/index.js' implicitly has an 'any' type.
Try `npm install @types/react-dnd` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dnd';
Doesn't react-dnd provide type definitions? Is there anything extra I have to do to get access to the types?
I am using typescript in strict mode. My app was scaffolded with create-react-app.