array destructuring types ts code example Example: array destructuring typescript type function f([a,b,c]: [number, number, number]) { }