typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
109 stars 51 forks source link

provide completions for element tag names #667

Open patricklx opened 9 months ago

patricklx commented 9 months ago

this is blocked by glimmer-vm https://github.com/glimmerjs/glimmer-vm/issues/1490.

glint needs a node for the template tag name that would map to the parameter of emitElement('...'). currently the type is only string, but could be extended to Name extends string | keyof HTMLElementTagNameMap | keyof SVGElementTagNameMap