Skip to content

Assigning to rvalue svelte(js_parse_error) #13409

Closed
@ottomated

Description

@ottomated

Describe the bug

With this code:

foo! += 1;

(which is valid typescript)

Svelte throws Assigning to rvalue svelte(js_parse_error)

Reproduction

REPL

Logs

No response

System Info

svelte@5.0.0-next.259

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions