How do i type an array of numbers in typescript?

Example:

const numbers: number[] = [1, 2, 3, 4, 5];
In TypeScript, you can specify the type of an array using the format `TypeName[]`.

Beginner's Guide to TypeScript