Skip to content

Glossary: TypeScript Basics

array type (T[])

Also written: Array<T>, number[], Product[]

A type written as the element type followed by `[]`, such as `number[]` for an array of numbers. `Array<Product>` means the same as `Product[]`.

Where the book teaches it

Related terms

tuplereadonlygenerics