import { IterableX } from '../../iterable/iterablex' ; import { finalize as _finalize } from '../../iterable/operators/finalize' ; ignore export function finalizeProto < T > ( this , action ) { return _finalize < T > ( action ) ( this ) ; } IterableX . prototype . finally = finalizeProto ; export declare namespace iterable { let finalize ; } declare module '../../iterable/iterablex' { interface IterableX < T > { finally : typeof finalizeProto ; } }