import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { ScanAsyncIterable } from '../../asynciterable/operators/scan' ; import { ScanOptions } from '../../asynciterable/operators/scanoptions' ; ignore export function scanProto < T , R = T > ( this , options ) { return new ScanAsyncIterable ( this , options ) ; } AsyncIterableX . prototype . scan = scanProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { scan : typeof scanProto ; } }