Skip to content

Support Records #108

@niloc132

Description

@niloc132

@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.

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