dynamicDefaults.d.ts 319 B

1234567
  1. import type { FuncKeywordDefinition } from "ajv";
  2. export declare type DynamicDefaultFunc = (args?: Record<string, any>) => () => any;
  3. declare const DEFAULTS: Record<string, DynamicDefaultFunc | undefined>;
  4. declare const getDef: (() => FuncKeywordDefinition) & {
  5. DEFAULTS: typeof DEFAULTS;
  6. };
  7. export default getDef;