frontend/.pnpm-store/v3/files/85/74d044320904d3362df4fe8fdd808df1bfde9e64a986f853c811eba8196c5d5c54713d73bd60bc9b4f457c297721b29f16631b8ba6f98aa513d3642516e3cc

9 lines
975 B
Plaintext

import { OperatorFunction, MonoTypeOperatorFunction, TruthyTypesOf } from '../types';
/** @deprecated Use a closure instead of a `thisArg`. Signatures accepting a `thisArg` will be removed in v8. */
export declare function filter<T, S extends T, A>(predicate: (this: A, value: T, index: number) => value is S, thisArg: A): OperatorFunction<T, S>;
export declare function filter<T, S extends T>(predicate: (value: T, index: number) => value is S): OperatorFunction<T, S>;
export declare function filter<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>;
/** @deprecated Use a closure instead of a `thisArg`. Signatures accepting a `thisArg` will be removed in v8. */
export declare function filter<T, A>(predicate: (this: A, value: T, index: number) => boolean, thisArg: A): MonoTypeOperatorFunction<T>;
export declare function filter<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T>;
//# sourceMappingURL=filter.d.ts.map