Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issues when using with typescript. #22

Open
kramsram opened this issue Jan 30, 2019 · 2 comments
Open

Having issues when using with typescript. #22

kramsram opened this issue Jan 30, 2019 · 2 comments
Labels
bug Something isn't working trivial Severity: It does not impact productivity or efficiency. It is merely an inconvenience.

Comments

@kramsram
Copy link

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.

@bobeagan
Copy link

We don't use Typescript but if you want to submit a PR, we're happy to review and consider it.

@kramsram
Copy link
Author

😊 Will put together a .d.ts file one of these days ...

@bobeagan bobeagan added bug Something isn't working trivial Severity: It does not impact productivity or efficiency. It is merely an inconvenience. labels Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working trivial Severity: It does not impact productivity or efficiency. It is merely an inconvenience.
Projects
None yet
Development

No branches or pull requests

2 participants