sveltejs/language-tools

don't lowercase event attributes in Svelte 5

dummdidumm opened this issue · 0 comments

Describe the bug

Event attributes are treated differently in Svelte 5, we shouldn't lowercase them.

Reproduction

onClick is not a type error

Expected behaviour

onClick is a type error

System Info

Irrelevant

Which package is the issue about?

svelte2tsx

Additional Information, eg. Screenshots

No response