import { IterableX } from '../../iterable/iterablex' ; import { flatMap } from '../../iterable/operators/flatmap' ; ignore export function flatMapProto < TSource , TResult > ( this , fn , thisArg ? ) { return flatMap < TSource , TResult > ( fn , thisArg ) ( this ) ; } IterableX . prototype . flatMap = flatMapProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { flatMap : typeof flatMapProto ; } }