hexo/node_modules/ajv/dist/compile/validate/index.d.ts

7 lines
392 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
import type { SchemaCxt } from "..";
import { Name } from "../codegen";
export declare function validateFunctionCode(it: SchemaCxt): void;
export declare function subschemaCode(it: SchemaCxt, valid: Name): void;
export declare function schemaCxtHasRules({ schema, self }: SchemaCxt): boolean;
export declare function checkStrictMode(it: SchemaCxt, msg: string, mode?: boolean | "log"): void;