• SandLight@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 hours ago

    Typescript doesn’t run in browser. It gets translated to js by some build steps. I would also say it’s only mostly type safe. You can kind of trick the system if you don’t know what you’re doing or don’t like your coworkers.

    • lemmeBe@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      8 hours ago

      No, you can’t if there’s any semblance of a PR review process. Reject until it’s type safe.