index.d.ts 392 B

123456
  1. import type { SchemaCxt } from "..";
  2. import { Name } from "../codegen";
  3. export declare function validateFunctionCode(it: SchemaCxt): void;
  4. export declare function subschemaCode(it: SchemaCxt, valid: Name): void;
  5. export declare function schemaCxtHasRules({ schema, self }: SchemaCxt): boolean;
  6. export declare function checkStrictMode(it: SchemaCxt, msg: string, mode?: boolean | "log"): void;