function filterimport { filter } from "https://deno.land/x/rxjs@v1.0.2/mod.ts"; DeprecatedUse a closure instead of a thisArg. Signatures accepting a thisArg will be removed in v8. filter<T, S extends T, A>(predicate: (this: A,value: T,index: number,) => value is S, thisArg: A): OperatorFunction<T, S>filter<T, S extends T>(predicate: (value: T, index: number) => value is S): OperatorFunction<T, S>filter<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>DeprecatedUse a closure instead of a thisArg. Signatures accepting a thisArg will be removed in v8. filter<T, A>(predicate: (this: A,value: T,index: number,) => boolean, thisArg: A): MonoTypeOperatorFunction<T>filter<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T>Type ParametersTS extends TAParameterspredicate: (this: A,value: T,index: number,) => value is SthisArg: AReturnsOperatorFunction<T, S>Type ParametersTS extends TParameterspredicate: (value: T, index: number) => value is SReturnsOperatorFunction<T, S>Type ParametersTParameterspredicate: BooleanConstructorReturnsOperatorFunction<T, TruthyTypesOf<T>>Type ParametersTAParameterspredicate: (this: A,value: T,index: number,) => booleanthisArg: AReturnsMonoTypeOperatorFunction<T>Type ParametersTParameterspredicate: (value: T, index: number) => booleanReturnsMonoTypeOperatorFunction<T>