ajv-keywords
Version:
Additional JSON-Schema keywords for Ajv JSON validator
8 lines (7 loc) • 319 B
TypeScript
import type { FuncKeywordDefinition } from "ajv";
export declare type DynamicDefaultFunc = (args?: Record<string, any>) => () => any;
declare const DEFAULTS: Record<string, DynamicDefaultFunc | undefined>;
declare const getDef: (() => FuncKeywordDefinition) & {
DEFAULTS: typeof DEFAULTS;
};
export default getDef;