import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { intersect } from '../../asynciterable/operators/intersect' ; ignore export function intersectProto < T > ( this , second , comparer ? ) { return intersect ( second , comparer ) ( this ) ; } AsyncIterableX . prototype . intersect = intersectProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { intersect : typeof intersectProto ; } }