import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { toArray } from '../../asynciterable/toarray' ; ignore export function toArrayProto < TSource > ( this ) { return toArray ( this ) ; } AsyncIterableX . prototype . toArray = toArrayProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { toArray : typeof toArrayProto ; } }