Skip to content

Incompatible with Stage 3 ES decorators ? #184

@Obiwarn

Description

@Obiwarn

I use the new "2022.3/Stage 3" decorator syntax in my project.

When I try serializr:

class Test {
  @serializable
  a = 1;
}

I get errors:


TS1240: Unable to resolve signature of property decorator when called as an expression.
Argument of type

and

Error: [serializr] incorrect usage of @serializable decorator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions