3 Reasons to use T[ ] over Array<T> in TypeScript
Which Syntax is Better?
Published in
3 min readMay 5, 2024
Not a Member? Read for FREE here.
TypeScript contains a plethora of tools to shape and define your data.
Today we will discuss 2 options you are given to define arrays:
- Using
T[]
- Using
Array<T>