ts-node icon indicating copy to clipboard operation
ts-node copied to clipboard

Fix SWC support with stage 3 decorators

Open MuTsunTsai opened this issue 1 year ago • 0 comments

Since TypeScript 5.0, stage 3 decorators had become the default while experimentalDecorators had become the legacy standard. However, with SWC enabled, ts-node doesn't work correctly with stage 3 decorators. This PR fixes the config pass to SWC to make it things work as it should.

Note: This part of the SWC config has been there since v1.3.47, so there's no need the change the dependency specifications.

MuTsunTsai avatar Sep 04 '24 10:09 MuTsunTsai