import { IterableX } from '../../iterable/iterablex' ; import { ScanRightIterable } from '../../iterable/operators/scanright' ; import { ScanOptions } from '../../iterable/operators/scanoptions' ; ignore export function scanRightProto < T , R = T > ( this , options ) ; export function scanRightProto < T , R = T > ( this , accumulator , seed ? ) ; export function scanRightProto < T , R = T > ( this , optionsOrAccumulator , seed ? ) { return new ScanRightIterable ( this , typeof optionsOrAccumulator === 'function' ? arguments . length > 1 ? { 'callback' : optionsOrAccumulator , 'seed' : seed } : { 'callback' : optionsOrAccumulator } : optionsOrAccumulator ) ; } IterableX . prototype . scanRight = scanRightProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { scanRight : typeof scanRightProto ; } }