Closed carlocorradini closed 1 year ago
Thanks for the report! This should be fixed in v3.4.2. Let me know if you still face any issues.
ts-node
was updated with new internal logic. Formerly, ts-node
would pass no Program
instance when it was executed with the transpileOnly
option.
Recent logic has changed to where it passes a stripped Program
, which was causing several issues. I attempted to fix this in (3.4.0), but there were some edge cases that were not covered, as evidenced by the following bug report.
We have corrected the logic to better accommodate these changes and ts-node in both transpileOnly
and typeCheck
modes.
Awesome! It's working now. Thanks! 🥳
Maintainers Note
ts-node
was updated with new internal logic. Formerly,ts-node
would pass noProgram
instance when it was executed with thetranspileOnly
option.Recent logic has changed to where it passes a stripped
Program
, which was causing several issues. I attempted to fix this in (3.4.0), but there were some edge cases that were not covered, as evidenced by the following bug report.We have corrected the logic to better accommodate these changes and ts-node in both
transpileOnly
andtypeCheck
modes.Bug Report
Context
Project available at https://github.com/carlocorradini/reCluster/tree/main/server
tsconfig.json
Available at https://github.com/carlocorradini/reCluster/blob/main/server/tsconfig.json Content:
Problem
ts-patch
has been correctly applied. In development I usets-node-dev
and start the server with the following npm script:It worked flawlessly until I've updated
typescript-transform-paths
tov3.4.0
:What is the possible cause of this? Thanks! 🥳😥