import { IterableX } from '../../iterable/iterablex' ; import { filter } from '../../iterable/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 filter ( predicate , thisArg ) ( this ) ; } IterableX . prototype . filter = filterProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { filter : typeof filterProto ; } }