• bleistift2
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    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.

    • AlecSadler@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      4 months ago

      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.