scripts/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts

5 lines
305 B
TypeScript
Raw Normal View History

import type { KeywordCxt } from "../../compile/validate";
import { Code, Name } from "../../compile/codegen";
export declare function checkNullable({ gen, data, parentSchema }: KeywordCxt, cond?: Code): [Name, Code];
export declare function checkNullableObject(cxt: KeywordCxt, cond: Code): [Name, Code];