It might be simple question, but I have not figured out as I am still newbie in TypeScript, I have a variable:

```
let v1: number | number[];

```

I want to convert

```
let v2: number[];

```

If v1 = 1 => v2 will be [1]

if v1= [1, 2] => v2 will be [1,2]