Loading problem…
Pick the correct result.
type ToArray<T> = T extends any ? T[] : never type A = ToArray<string | number>