import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { ExpandAsyncIterable } from '../../asynciterable/operators/expand' ; ignore export function expandProto < T > ( this , selector ) { return new ExpandAsyncIterable < T > ( this , selector ) ; } AsyncIterableX . prototype . expand = expandProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { expand : typeof expandProto ; } }