I'm a bit confused when it comes to defining arrays in TypeScript, because I don't understand the difference between
I read this question
in hope to gain some understanding, but it didn't enlighten me. And I can't seem to find any general sources that describes this.
When should I be using
and when should I use
? Does it even matter which one I use?