import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { TakeAsyncIterable } from '../../asynciterable/operators/take' ; ignore export function takeProto < T > ( this , count ) { return new TakeAsyncIterable < T > ( this , count ) ; } AsyncIterableX . prototype . take = takeProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { take : typeof takeProto ; } }