I stumbled upon this variation:
let a: [number | string];
After searching online and consulting the Typescript documentation, I couldn't find any reference to this specific syntax. It's interesting because it combines both number and string in a union type, but it doesn't fit the definition of a tuple or an array. Can anyone shed some light on what this syntax represents? Could someone provide a straightforward explanation of how to declare and populate it with values?