import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { SliceAsyncIterable } from '../../asynciterable/operators/slice' ; ignore export function sliceProto < T > ( this , begin , end ) { return new SliceAsyncIterable < T > ( this , begin , end ) ; } AsyncIterableX . prototype . slice = sliceProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { slice : typeof sliceProto ; } }