Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Stage 3 ES decorators ? #184

Open
Obiwarn opened this issue May 15, 2024 · 0 comments
Open

Incompatible with Stage 3 ES decorators ? #184

Obiwarn opened this issue May 15, 2024 · 0 comments

Comments

@Obiwarn
Copy link

Obiwarn commented May 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant