• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    17 hours ago

    Yes because you used static type annotations. This thread was about code that doesn’t use static types (or static type annotations/hints).

    • Eiri@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Nope, don’t need to. WebStorm can even detect nonexistent attributes for objects whose format the back-end decides, and tbh I’m not sure what sort of sorcery it uses.