lemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 1 year agoeverywhere I godiscuss.tchncs.deimagemessage-square40fedilinkarrow-up1581arrow-down115file-text
arrow-up1566arrow-down1imageeverywhere I godiscuss.tchncs.delemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 1 year agomessage-square40fedilinkfile-text
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up6·1 year 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·1 year 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.