Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Type stripping can and does ignore tsconfig.json files, from the provided link:

> Node.js ignores tsconfig.json files and therefore features that depend on settings within tsconfig.json, such as paths or converting newer JavaScript syntax to older standards, are intentionally unsupported.

Of course import aliases and such features would break.



That's for running your own code. Not for running other people's code.


I presume you didn't get the "Let me sign a deal with the devil!"-part OP mentioned in TFA then.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: