Array types in TypeScript
We use Array<> because readability and to align with other utility Types in TypeScript: Pick<>, Omit<>, etc.
There is a good article about the topic here: https://tkdodo.eu/blog/array-types-in-type-script
Which type of array notation shall we use in TypeScript?
We use Array<> because readability and to align with other utility Types in TypeScript: Pick<>, Omit<>, etc.
There is a good article about the topic here: https://tkdodo.eu/blog/array-types-in-type-script