import { IterableX } from '../../iterable/iterablex' ; import { tap } from '../../iterable/operators/tap' ; import { PartialObserver } from '../../observer' ; ignore export function tapProto < TSource > ( this , observer ) ; export function tapProto < TSource > ( this , next ? , error ? , complete ? ) ; export function tapProto < TSource > ( this , observerOrNext ? , error ? , complete ? ) { return tap < TSource > ( observerOrNext as any , error , complete ) ( this ) ; } IterableX . prototype . tap = tapProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { tap : typeof tapProto ; } }