Closed Mumujianguang closed 2 months ago
@kdy1 @magic-akari I‘m using v1.7.6 of swc in the playground
,the compiled code still has not changed
All crates depending on swc_ecma_transforms_proposal need to be updated, but swc_core has not been updated. @kdy1
I verified that it's applied in the SWC playground
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.
Describe the bug
the
Design.prototype
parameter of_ts_decorate
method is undefined in scopethe compiled code can not run in browser
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.3&code=H4sIAAAAAAAAA3WQTY7CMAyF9z2FxYZkkwOAGI00LFhzg9C%2BVBWdOLJTiQpxd%2FpDZ4ZBeGFZL5%2FtF4culrnhSIK60Qw5MJ%2FNGb2la0FDCHInkYxzzkutlnYfVHJUbuFars0kFreiwCWxZKoQfNdmCsvgCtrU0Zy8YkO5T%2BBAX%2FydOCLmf1vK1qvSfuogXDJipTR2PrAxSk69sX%2BEWfx1tBqJld3%2BAIO5pfx8%2Bub6hMCC47AGsrbvKB%2BG8gWSSXhxol2CuOVx%2B97lfJfHmGe7c77dAYePf1ucAQAA&config=H4sIAAAAAAAAA1VPOw6DMAzdOUXkuUPbgaF36CGiYFAqSCLbSEWIu5NAkpbNfh8%2Fv7VRCj5s4KXWOMYlaGKkukeEFyf6GxGQJSAbskHgVtgOjSctnjgqhGasjHAy9XpkPKDtZEA0DSjpHvLz%2FmjzLRi9ZyyOjE3W2X75%2F8b4KRAyX4VJqt0w4jWxyakw%2BW4%2ByNwyNTk%2FaOEnKmH1MFh%2BF2fq1mw7L9dvyDEBAAA%3D
SWC Info output
No response
Expected behavior
the compiled code should be as below
Actual behavior
No response
Version
1.7.3
Additional context
No response