swc-project / swc

Rust-based platform for the Web
https://swc.rs
Apache License 2.0
31.27k stars 1.23k forks source link

Decorators on `TsParamProp`s are not handled properly #2658

Closed kdy1 closed 2 years ago

kdy1 commented 3 years ago

Only enable legacy decorators

Emit medatada as well

What I expected is this line:

return Decorator(B)(target, undefined, 0);

Am I missing something?

Originally posted by @wendellhu95 in https://github.com/swc-project/swc/issues/531#issuecomment-961749252

swc-bot commented 2 years ago

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.