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.
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-cropif it exists or add a new declaration (.d.ts) file containingdeclare 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.