-
Notifications
You must be signed in to change notification settings - Fork 152
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
Export types for Typescript implementations #177
Comments
I agree. As a workaround, for now, below is an example of using
in a *.d.ts file
|
Update to workaround (after updating packages):
then instead of I agree with @charlieforward9 , there must be a better solution. |
Bump, this would be really nice. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to have the ability to declare the DrawEvents type in my TS function, for safe scaling and intellisense.
Throws:
Module '"react-leaflet-draw"' declares 'DrawEvents' locally, but it is not exported.
I assume as I continue to develop, I will need access to more types, so it would be nice to have them all available, just in case.
The text was updated successfully, but these errors were encountered: