Skip to content

don't lowercase event attributes in Svelte 5  #2345

@dummdidumm

Description

@dummdidumm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions