544 BTypeScriptView Raw
1import { OperatorFunction } from '../types';
2/** @deprecated To be removed in v9. Use {@link map} instead: `map(() => value)`. */
3export declare function mapTo<R>(value: R): OperatorFunction<unknown, R>;
5 * @deprecated Do not specify explicit type parameters. Signatures with type parameters
6 * that cannot be inferred will be removed in v8. `mapTo` itself will be removed in v9,
7 * use {@link map} instead: `map(() => value)`.
8 * */
9export declare function mapTo<T, R>(value: R): OperatorFunction<T, R>;
10//# sourceMappingURL=mapTo.d.ts.map
\No newline at end of file