epiphany/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts
2023-12-09 22:48:07 -08:00

10 lines
253 B
TypeScript

import type {CodeKeywordDefinition} from "../../types"
import {dynamicRef} from "./dynamicRef"
const def: CodeKeywordDefinition = {
keyword: "$recursiveRef",
schemaType: "string",
code: (cxt) => dynamicRef(cxt, cxt.schema),
}
export default def