hexo/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts

11 lines
253 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
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