With the ‘unknown’ type available is there a good case for ‘any’ anymore?
I really like the ‘unknown’ type. In catch statements for example the error is unknown but you can do dynamic
checks to see what it is,
then typescript lets you treat it that way.
I really like the ‘unknown’ type. In catch statements for example the error is unknown but you can do dynamic checks to see what it is, then typescript lets you treat it that way.