ts-node
ts-node copied to clipboard
Fix SWC support with stage 3 decorators
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.