Previously, swc emit wrong metadata information for decorators on parameter if decorator metadata is enabled. As a result, the code below was broken.
Thanks to @Brooooooklyn, this is fixed.
Now typescript class properties work in the same way as
class_properties pass follows ecmascript spec, and it had broken some codes.
Previously, swc emitted an wrong error message for the code below while compiling properly.
Affected code looks like the code below