( patch: Patch2 )
| 165 | |
| 166 | /** @internal */ |
| 167 | export const makeUpdateRight = <Value, Value2, Patch, Patch2>( |
| 168 | patch: Patch2 |
| 169 | ): Differ.Or.Patch< |
| 170 | Value, |
| 171 | Value2, |
| 172 | Patch, |
| 173 | Patch2 |
| 174 | > => { |
| 175 | const o = Object.create(UpdateRightProto) |
| 176 | o.patch = patch |
| 177 | return o |
| 178 | } |
| 179 | |
| 180 | type Instruction = |
| 181 | | AndThen<any, any, any, any> |