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

React Package Types Unavailable #539

Open
curran opened this issue Mar 4, 2025 · 1 comment · May be fixed by #540
Open

React Package Types Unavailable #539

curran opened this issue Mar 4, 2025 · 1 comment · May be fixed by #540

Comments

@curran
Copy link

curran commented Mar 4, 2025

Image

I'm noticing that in VSCode (open to unovis as the root of the project), I'm not getting correct type hints for the VisTreemap export from @unovis/react. This adds friction during development. Ideally the types / linting would be correct.

@curran
Copy link
Author

curran commented Mar 4, 2025

Initial research:

  • The Webpack config has a special case for this, in packages/dev/webpack.config.js, under resolve.alias
 '@unovis/react': path.resolve(__dirname, '../react/src/'),

Perhaps we could add something similar to packages/dev/tsconfig.json to correctly resolve the aliases?

curran added a commit to ExaForce/unovis that referenced this issue Mar 4, 2025
@curran curran linked a pull request Mar 4, 2025 that will close this issue
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 a pull request may close this issue.

1 participant