import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { finalize as _finalizeProto } from '../../asynciterable/operators/finalize' ; ignore export function finalizeProto < T > ( this , action ) { return _finalizeProto < T > ( action ) ( this ) ; } AsyncIterableX . prototype . finalize = finalizeProto ; export declare namespace asynciterable { let finalize ; } declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { finalize : typeof finalizeProto ; } }