declare function union(...arr: Array<any[]>): any[];

export = union;
