(prop: Prop.Node, i: number, failing: boolean)
| 707 | |
| 708 | // what a key reads through its checker's transform, where it has one |
| 709 | const writeHeld = (prop: Prop.Node, i: number, failing: boolean): string => { |
| 710 | const read = `data${writeAccess(prop.key as string)}` |
| 711 | return ( |
| 712 | !prop.value.tfs ? read |
| 713 | : failing ? |
| 714 | `values.transformed(checkers[${i}].t, ${read}, ${JSON.stringify(prop.key)})` |
| 715 | : `checkers[${i}].t(${read})` |
| 716 | ) |
| 717 | } |
| 718 | |
| 719 | // whether a key a default writes holds a value |
| 720 | const writeHolds = (prop: Prop.Node): string => |
no test coverage detected