Skip to content

support Svelte class syntax for objects and arrays #59

@ryanatkn

Description

@ryanatkn

Moss does not fully support Svelte's object+array class syntax, added in 5.16. For now see the tests for the supported forms. Most cases should be workaroundable for now, either in code or through comments as an escape hatch. The current strategy uses a regexp for TS and Svelte files, but we'll probably need to more robustly scan the parsed AST. Help of any kind is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions