UNPKG

349 BTypeScriptView Raw
1import { OperatorAsyncFunction } from '../../interfaces';
2export declare function filter<T, S extends T>(predicate: (value: T, index: number) => value is S, thisArg?: any): OperatorAsyncFunction<T, S>;
3export declare function filter<T>(predicate: (value: T, index: number) => boolean | Promise<boolean>, thisArg?: any): OperatorAsyncFunction<T, T>;