import { IterableX } from '../../iterable/iterablex' ; import { union } from '../../iterable/operators/union' ; ignore export function unionProto < T > ( this , right , comparer ? ) { return union < T > ( right , comparer ) ( this ) ; } IterableX . prototype . union = unionProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { union : typeof unionProto ; } }