DEV Community

Discussion on: Introduction to typescript with React

Collapse
 
towaanu profile image
Antoine Muller

Hi, happy you enjoyed the guide :) !

Yes Array<T> and T[] means the same thing.
For example Array<number> or number[] means an array of number in typescript.

You can find more about it in the official documentation : typescriptlang.org/docs/handbook/2...