(cxt: KeywordCxt, prop: string)
| 6 | import N from "../compile/names" |
| 7 | import {useFunc} from "../compile/util" |
| 8 | export function checkReportMissingProp(cxt: KeywordCxt, prop: string): void { |
| 9 | const {gen, data, it} = cxt |
| 10 | gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => { |
| 11 | cxt.setParams({missingProperty: _`${prop}`}, true) |
| 12 | cxt.error() |
| 13 | }) |
| 14 | } |
| 15 | |
| 16 | export function checkMissingProp( |
| 17 | {gen, data, it: {opts}}: KeywordCxt, |
no test coverage detected
searching dependent graphs…