lemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 2 years agoeverywhere I godiscuss.tchncs.deimagemessage-square40linkfedilinkarrow-up1578arrow-down115file-text
arrow-up1563arrow-down1imageeverywhere I godiscuss.tchncs.delemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 2 years agomessage-square40linkfedilinkfile-text
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up6·2 years 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·2 years 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.