Merge pull request #287 from yanick/updateIn-definition

add the two argument curried version of updateIn
This commit is contained in:
Aaron Jensen 2021-08-10 10:56:21 -04:00 committed by GitHub
commit 3c8bd66d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
types/updateIn.d.ts vendored
View File

@ -1,12 +1,11 @@
import { Path } from './types'; import { Path } from './types';
export declare function updateIn(path: Path, value: any, object: any): any; export declare function updateIn(path: Path, value: any, object: any): any;
interface Curry2 { declare const _default: {
(value: any, object: any): any; (a: any): {
(value: any): (object: any) => any; (a: any): (a: any) => any;
} (a: any, b: any): any;
interface CurriedUpdateIn { };
(path: Path, value: any, object: any): any; (a: any, b: any): (a: any) => any;
(path: Path): Curry2; (a: any, b: any, c: any): any;
} };
declare const _default: CurriedUpdateIn;
export default _default; export default _default;