lemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 3 months agoeverywhere I godiscuss.tchncs.deimagemessage-square40fedilinkarrow-up1571arrow-down115file-text
arrow-up1556arrow-down1imageeverywhere I godiscuss.tchncs.delemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 3 months agomessage-square40fedilinkfile-text
minus-squarebleistift2linkfedilinkEnglisharrow-up6·3 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·3 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.