react-drop-n-crop
react-drop-n-crop copied to clipboard
Having issues when using with typescript.
Having issues when using with Typescript.
Could not find a declaration file for module '@synapsestudios/react-drop-n-crop'. '.../node_modules/@synapsestudios/react-drop-n-crop/lib/index.js' implicitly has an 'any' type.
Try npm install @types/synapsestudios__react-drop-n-crop if it exists or add a new declaration (.d.ts) file containing declare module '@synapsestudios/react-drop-n-crop';
using the const = require form cuses problems when I render - with the message that render expects a string but got an object.
We don't use Typescript but if you want to submit a PR, we're happy to review and consider it.
😊 Will put together a .d.ts file one of these days ...