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

Support Records #108

Open
niloc132 opened this issue Nov 20, 2024 · 0 comments
Open

Support Records #108

niloc132 opened this issue Nov 20, 2024 · 0 comments

Comments

@niloc132
Copy link
Member

`@JsProperty on record components behave slightly differently than one would naively expect:

  • the generated accessor method should be treated as if it was a "getter", despite not having that name
  • the private final field should not be annotated/exposed at all

@JsType on a record should expose the constructor and the methods as @JsMethod, but components should not be treated as if they were annotated with anything.

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