We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When importing directly from solid-js/dist, type declarations are not included alongside the module.
https://stackblitz.com/edit/vitejs-vite-rxucgj
As a user, I expected imports from dist to have corresponding type declarations, but instead they do not.
No response
Technically this isn't a bug, but it is a frustrating developer experience,
The workaround is to declare the types in a type declaration file.
declare module "solid-js/dist/solid.js" { export * from "solid-js/types/index.d.ts"; }
This is related to #2088, because the goal is the same: I want an entry point to "get exactly what I asked for" without using conditional exports.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When importing directly from solid-js/dist, type declarations are not included alongside the module.
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-rxucgj
Steps to Reproduce the Bug or Issue
Expected behavior
As a user, I expected imports from dist to have corresponding type declarations, but instead they do not.
Screenshots or Videos
No response
Platform
Additional context
Technically this isn't a bug, but it is a frustrating developer experience,
The workaround is to declare the types in a type declaration file.
This is related to #2088, because the goal is the same: I want an entry point to "get exactly what I asked for" without using conditional exports.
The text was updated successfully, but these errors were encountered: