Typing a concat Function
declare const a: string[]
declare const b: number[]
// const test: (string | number)[]
const test = concat(a, b);
declare const a: string[]
declare const b: number[]
// const test: (string | number)[]
const test = concat(a, b);