@@ -1456,8 +1456,8 @@ declare class RecordInstance<T: Object> {
1456
1456
removeIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>, K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>, K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>>(keyPath: [K, K2, K3, K4]): this & T;
1457
1457
removeIn<K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>, K3: $KeyOf<$ValOf<$ValOf<T, K>, K2>>, K4: $KeyOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>>, K5: $KeyOf<$ValOf<$ValOf<$ValOf<$ValOf<T, K>, K2>, K3>, K4>>>(keyPath: [K, K2, K3, K4, K5]): this & T;
1458
1458
1459
- updateIn<U>(keyPath: [], notSetValue: mixed, updater: (value: this) => U): U;
1460
- updateIn<U>(keyPath: [], updater: (value: this) => U): U;
1459
+ updateIn<U>(keyPath: [], notSetValue: mixed, updater: (value: this & T ) => U): U;
1460
+ updateIn<U>(keyPath: [], updater: (value: this & T ) => U): U;
1461
1461
updateIn<NSV, K: $Keys<T>, S: $ValOf<T, K>>(keyPath: [K], notSetValue: NSV, updater: (value: $ValOf<T, K>) => S): this & T;
1462
1462
updateIn<K: $Keys<T>, S: $ValOf<T, K>>(keyPath: [K], updater: (value: $ValOf<T, K>) => S): this & T;
1463
1463
updateIn<NSV, K: $Keys<T>, K2: $KeyOf<$ValOf<T, K>>, S: $ValOf<$ValOf<T, K>, K2>>(keyPath: [K, K2], notSetValue: NSV, updater: (value: $ValOf<$ValOf<T, K>, K2> | NSV) => S): this & T;
@@ -1478,7 +1478,7 @@ declare class RecordInstance<T: Object> {
1478
1478
toJSON(): T;
1479
1479
toObject(): T;
1480
1480
1481
- withMutations(mutator: (mutable: this) => mixed): this & T;
1481
+ withMutations(mutator: (mutable: this & T ) => mixed): this & T;
1482
1482
asMutable(): this & T;
1483
1483
wasAltered(): boolean;
1484
1484
asImmutable(): this & T;
0 commit comments