Open ivan-kleshnin opened 5 months ago
hi @ivan-kleshnin , this is an interesting point, I also looked a bit on this when TS 5 add support for the native decorator.
I have not been in nodejs ecosystem for a while, do you see the new ES Decorator
been used widely?
I just checked caniuse and it seems no browser supports it native for now. Also in the proposal github issue, there are several issues related to migration guide. Not exactly sure how the community is to handle this transition. do you have any insights? 🤣
Yeah, it seems like we have to wait for some time 😮💨
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:Any chance this library is updated to support Stage-3? (would require a major version bump)