-
Notifications
You must be signed in to change notification settings - Fork 268
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
Using exported types for TypeScript #231
Comments
Thanks @bkrem ! |
Oh wow yeah great point, that's been wrong all along 🤦♂ this is the issue with retrofitting typings onto an old codebase. Thanks for pointing that out too 💯 I've updated the type declarations and the docs (ac7ba4f) and published as I had a quick play around with it, but feel free to open another issue if the types are still problematic in some way. |
Thanks @bkrem, I get this error after updating:
|
Are you reporting a bug, or opening a feature request?
feature request
What is the actual behavior/output?
I cannot use the types (eg. NodeSvgShape/ReactD3TreeItem) because they don't get exported.
What is the behavior/output you expect?
That I can use the react-d3-tree types in my project for type-validation
What version of react-d3-tree are you using?
latest
The text was updated successfully, but these errors were encountered: