5 lines
305 B
TypeScript
5 lines
305 B
TypeScript
|
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];
|