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