import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { FilterAsyncIterable } from '../../asynciterable/operators/filter' ; ignore export function filterProto < T , S extends T > ( this , predicate , thisArg ? ) ; export function filterProto < T > ( this , predicate , thisArg ? ) ; export function filterProto < T > ( this , predicate , thisArg ? ) { return new FilterAsyncIterable < T > ( this , predicate , thisArg ) ; } AsyncIterableX . prototype . filter = filterProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { filter : typeof filterProto ; } }