(data: Record<PropertyKey, unknown>, v: unknown)
| 1410 | ): Morph<any> => { |
| 1411 | const thunk = isThunkInput ? (defaultInput as () => unknown) : undefined |
| 1412 | const write = (data: Record<PropertyKey, unknown>, v: unknown) => { |
| 1413 | setOwnValue(data, key, v) |
| 1414 | return data |
| 1415 | } |
| 1416 | if (!thunk && !node.alters && !node.hasAlias) |
| 1417 | return data => write(data, defaultInput) |
| 1418 | if (!node.allowsCtx && !node.ctxMorph) { |
no test coverage detected