lemmesay to Programmer Humor@programming.devEnglish · 5 months agoeverywhere I godiscuss.tchncs.deimagemessage-square40fedilinkarrow-up1577arrow-down115file-text
arrow-up1562arrow-down1imageeverywhere I godiscuss.tchncs.delemmesay to Programmer Humor@programming.devEnglish · 5 months agomessage-square40fedilinkfile-text
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up6·5 months agoI believe you don’t have to actually use (meaning “compile from”) typescript to profit from it. If you maul the compiler options hard enough, you might get it to analyze JavaScript and provide type checking.
minus-squareAlecSadler@sh.itjust.workslinkfedilinkarrow-up6·5 months agoThat’s what I did locally. But a lot of this JavaScript wasn’t even transpiled/compiled for prod, just uploaded to a bucket and referenced directly. It was painful.
I believe you don’t have to actually use (meaning “compile from”) typescript to profit from it. If you maul the compiler options hard enough, you might get it to analyze JavaScript and provide type checking.
That’s what I did locally.
But a lot of this JavaScript wasn’t even transpiled/compiled for prod, just uploaded to a bucket and referenced directly. It was painful.