add the two argument curried version of updateIn
This commit is contained in:
parent
22a3807847
commit
7f56c5b7ab
17
types/updateIn.d.ts
vendored
17
types/updateIn.d.ts
vendored
@ -1,12 +1,11 @@
|
||||
import { Path } from './types';
|
||||
export declare function updateIn(path: Path, value: any, object: any): any;
|
||||
interface Curry2 {
|
||||
(value: any, object: any): any;
|
||||
(value: any): (object: any) => any;
|
||||
}
|
||||
interface CurriedUpdateIn {
|
||||
(path: Path, value: any, object: any): any;
|
||||
(path: Path): Curry2;
|
||||
}
|
||||
declare const _default: CurriedUpdateIn;
|
||||
declare const _default: {
|
||||
(a: any): {
|
||||
(a: any): (a: any) => any;
|
||||
(a: any, b: any): any;
|
||||
};
|
||||
(a: any, b: any): (a: any) => any;
|
||||
(a: any, b: any, c: any): any;
|
||||
};
|
||||
export default _default;
|
||||
|
Loading…
Reference in New Issue
Block a user