vscode-elements / elements

Web component library for developing Visual Studio Code extensions
https://vscode-elements.github.io
MIT License
156 stars 27 forks source link

Adding typescript support #185

Closed veredcon closed 1 month ago

veredcon commented 1 month ago

The motivation for adding TypeScript support includes:

This would be a valuable enhancement for the library.

bendera commented 1 month ago

See #184

bendera commented 1 month ago

I failed to fix the element recognition issue with Vite. It can be fixed by changing the moduleResolution in the tsconfig, but I believe there’s a good reason why the Vite creators are using the current setting, so I wouldn’t modify it. But fortunately, the React wrapper makes this issue irrelevant.