Open woldtwerk opened 1 year ago
Usage of:
class TextField extends HTMLElement
is currently required.
I think this shouldn't be required. Using @element text-field or
@element text-field
declare global { interface HTMLElementTagNameMap { "text-field": TextField; } }
should be sufficient.
This would allow support for libraries like vue and svelte.
Is there a reason for this behavior?
Usage of:
is currently required.
I think this shouldn't be required. Using
@element text-field
orshould be sufficient.
This would allow support for libraries like vue and svelte.
Is there a reason for this behavior?