• joel_anderson@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    I mean that is the first step. ¯_(ツ)_/¯ The next step is to start defining the types more strictly than any.

    • mark
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Hmmm a more reasonable first step would be to just not even type anything until you’re ready. But TS makes it hard to iteratively type parts of your codebase over time. One could type using JSDoc syntax for these cases, though.