Skip to content

Support "ES Decorators, Stage-3" API #37

@ivan-kleshnin

Description

@ivan-kleshnin

ES decorator proposal was updated to Stage-3 with a different internal API

https://medium.com/@aude.lellouche/typescript-decorators-stage-3-technical-challenges-and-tips-for-overcoming-them-8deed94a3de7

To my understanding, the library is based on Stage-2 and using it with Stage-3 (TS5+ without "experimentalDecorators": true) causes errors like:

TS1241: Unable to resolve signature of method decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 3

Any chance this library is updated to support Stage-3? (would require a major version bump)

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