• @copd@lemmy.world
    link
    fedilink
    59 days ago

    besides NaN actually being a number, this could completely and easily be avoided with typescript.

    • @rooroo@feddit.org
      link
      fedilink
      69 days ago

      Naaah. Good programmers know how to use as any as any to make this work in typescript as well.