Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
forty
· 5y ago · 0 comments
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.
Comments
[–]
sneak
5y ago
I don't think that would be that crazy, especially if it's in the stdlib.
[–]
forty
OP
5y ago
It seems like a huge amount of code and potential vulns to bring in production for no good reasons.
[–]
reader_mode
5y ago
Why do you need a full TS compiler - you can just strip type annotations ala babel.