In TypeScript, arrays can be declared in two primary ways:
Using square brackets ([]):
let numbers: number[] = [11, 22, 33];
This syntax specifies that numbers is an array of type number.
Using the Array generic type:
let strings: Array<string> = ['x', 'y', 'z'];
This achieves the same result but uses TypeScript's Array type.