4 lines
338 B
TypeScript
4 lines
338 B
TypeScript
import { OperatorFunction, MonoTypeOperatorFunction } from '../types';
|
|
export declare function filter<T, S extends T>(predicate: (value: T, index: number) => value is S, thisArg?: any): OperatorFunction<T, S>;
|
|
export declare function filter<T>(predicate: (value: T, index: number) => boolean, thisArg?: any): MonoTypeOperatorFunction<T>;
|