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

Align with new stricter TypeScript error typing #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathannen
Copy link

TypeScript now has the flag useUnknownInCatchVariables set to true by default.

https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables

This causes importing Dropzone types to fail in projects using the default (or explictly true). Fix is to revert to the current behavior by assuming any explicitly.

@SatyamKr07
Copy link

Please merge this pull request as we are not able to host our site on vercel because of this error.

@pteigen
Copy link

pteigen commented Dec 21, 2021

+1

@wweaver
Copy link

wweaver commented Apr 10, 2023

Fixed in #196 and uploaded @cruisecritic/react-dropzone-uploader. I'm guessing this library will no longer be maintained since it's been so long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants