• dan@upvote.au
    link
    fedilink
    arrow-up
    22
    ·
    5 months ago

    Most libraries have TypeScript types these days, either bundled directly with the library (common with newer libraries), or as part of the DefinitelyTyped project.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      5 months ago

      DefinitelyTyped is the exact kind of thing I’m talking about. You put TypeScript definitions over things, but under the hood it’s still JavaScript and can fail in JavaScript ways.