UNPKG

json-schema-faker

Version:

Generate valid JSON data from JSON Schema definitions

5 lines 393 B
import type { Random } from "../types.js"; export type FormatGenerator = (random: Random) => string; export declare function createFormatRegistry(userFormats?: Record<string, FormatGenerator>): Map<string, FormatGenerator>; export declare function registerFormatGlobal(name: string, generator: FormatGenerator, registry: Map<string, FormatGenerator>): void; //# sourceMappingURL=index.d.ts.map