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

No Intellisence for attributes/properties. #75

Open
rbiggs opened this issue Nov 24, 2019 · 0 comments
Open

No Intellisence for attributes/properties. #75

rbiggs opened this issue Nov 24, 2019 · 0 comments

Comments

@rbiggs
Copy link

rbiggs commented Nov 24, 2019

I'm noticing that there is no Intellisense nor code completion for events @click, name, value or other common attributes and properties. In contrast, when using JSX with the React index.d.ts has a global names JSX which defines and exposes attributes, custom properties and events. Shouldn't it be possible to provide similar TypeScript interfaces to expose Lit-HTML events and attributes the same way?

Here's a gist for reference of what I use in my projects so I can use JSX without react: https://gist.github.com/rbiggs/9f158608bebfa722a02662d558440df1

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

No branches or pull requests

1 participant