Changelog: swc v1.2.15
#
Bugfixes#948)#
emitDecoratorMetadata for parameters (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.
#930)#
typescript properties (Now typescript class properties work in the same way as tsc
. Previously class_properties
pass follows ecmascript spec, and it had broken some codes.
#947)#
delete a?.b (Previously, swc emitted an wrong error message for the code below while compiling properly.
#944)#
in operator in class properties (Affected code looks like the code below