lemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 4 months agoeverywhere I godiscuss.tchncs.deimagemessage-square40fedilinkarrow-up1523arrow-down112file-text
arrow-up1511arrow-down1imageeverywhere I godiscuss.tchncs.delemmesay@discuss.tchncs.de to Programmer Humor@programming.devEnglish · 4 months agomessage-square40fedilinkfile-text
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up6·4 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·4 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.