Skip to content

Feature request: Implement the Decorator Metadata proposal #3760

Closed

Description

@uinz

I think esbuild should behave the same way as typescript when compiling decorators

ts playground
image

esbuild playground
image

Activity

  1. evanw commented on May 11, 2024

    @evanw
    Owner

    This looks like a feature request for https://github.com/tc39/proposal-decorator-metadata, which is a separate proposal from https://github.com/tc39/proposal-decorators.

  2. uinz commented on May 11, 2024

    @uinz
    Author

    This looks like a feature request for https://github.com/tc39/proposal-decorator-metadata, which is a separate proposal from https://github.com/tc39/proposal-decorators.

    Thanks for your reply, you are right.
    It was me who confused the two proposals.
    esbuild is implemented for the tc39 standard.

  3. evanw commented on May 12, 2024

    @evanw
    Owner

    Reopening this issue because it should probably still be implemented. I'm not sure why it's a separate proposal (e.g. if that means the committee is more unsure about it?) but TypeScript has already implemented and shipped it so it's not going away any time soon. I'm just not sure how ready it is to be implemented at the moment.

    See also:

  4. reopened this on May 12, 2024
  5. changed the title [-]The decorators feature implemented in version 0.21 is missing `metadata` field[/-] [+]Feature request: Implement the Decorator Metadata proposal[/+] on May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions