New Feb 17, 2025

Array type notations: T[] vs. Array<T> in TypeScript

Top Front-end Bloggers All from 2ality – JavaScript and more View Array type notations: T[] vs. Array<T> in TypeScript on 2ality.com

In this blog post, we explore two equivalent notations for Arrays in TypeScript: T[] and Array<T>. I prefer the latter and will explain why.

Scroll to top