You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
The text was updated successfully, but these errors were encountered: