unionWith<T>(a1: Array<T>, comparator?: Comparator<T>): Array<T>;