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

Prop/Type Hints in VSCode #278

Closed
stdavis opened this issue Aug 26, 2024 · 2 comments · Fixed by #283
Closed

Prop/Type Hints in VSCode #278

stdavis opened this issue Aug 26, 2024 · 2 comments · Fixed by #283

Comments

@stdavis
Copy link
Member

stdavis commented Aug 26, 2024

I'm not getting any type/prop hints in VSCode which makes it hard to know what properties are available for a component.
image

@steveoh
Copy link
Member

steveoh commented Aug 26, 2024

Do you have any ideas how to improve the npm package to help with this?

I'm seeing a "types" property in some other npm packages and then possibly an update to the exports for "." where you add an "import": { "types": ...}. They reference an index.d.ts file which i'm not sure we are generating?

I noticed they are including the source files which could help as well but these are all guesses?

@stdavis
Copy link
Member Author

stdavis commented Aug 27, 2024

I'm not sure. Although, I still think that it may be a good idea to publish just the source. I'm not sure why we are building these only for them to be run through a build system again in the app.

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.

2 participants