Y
Hacker News
new
|
ask
|
show
|
jobs
by
forty
1907 days ago
Exactly. And I guess the package still needs to be compiled to JS before deploying to production? To avoid shipping a full TS compiler on a production server which would be a crazy thing to do.
2 comments
sneak
1907 days ago
I don't think that would be that crazy, especially if it's in the stdlib.
link
forty
1907 days ago
It seems like a huge amount of code and potential vulns to bring in production for no good reasons.
link
reader_mode
1907 days ago
Why do you need a full TS compiler - you can just strip type annotations ala babel.
link