-
Notifications
You must be signed in to change notification settings - Fork 122
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
Support for typescript types #106
Comments
Not sure what you are referring to, this library was written in typescript and already ships with the .d.ts files needed to enable typing support when using it. Can you elaborate a bit more what your current setup looks like? Are you seeing any errors? |
It seems to be working now after I run:
I think we need to update the docs to reflect this. |
Oooh, that is actually a very good point! Thanks for spotting this. |
we are reusing types from the @types/google.maps package for things like MapProps etc. To make sure those types are available when installing this package, we have to specify them as dependencies instead of devDependencies. fixes visgl#106
we are reusing types from the @types/google.maps package for things like MapProps etc. To make sure those types are available when installing this package, we have to specify them as dependencies instead of devDependencies. fixes #106
Target Use Case
When developing with typescript. It can help with autocomplete and viewing the needed props.
Proposal
This feature will help make development in typescript easier.
The text was updated successfully, but these errors were encountered: