| 228 | } |
| 229 | |
| 230 | const fallback: ToJsonSchema.UniversalFallback = ctx => { |
| 231 | const { object } = refOf(ctx) as { object: number } |
| 232 | const changes = changesSinceLastStep() |
| 233 | const { hole, result } = unwritten() |
| 234 | steps.push({ call: hole, code: ctx.code, ctx: object, changes }) |
| 235 | return result as JsonSchema |
| 236 | } |
| 237 | |
| 238 | // holding the keys of a result, copied in |
| 239 | const copiesResult = (value: unknown) => |
nothing calls this directly
no test coverage detected