UNPKG

allof-merge

Version:

Simplify JsonSchema/Openapi by combining allOf safely

6 lines (5 loc) 344 B
import { type SyncCloneHook } from "json-crawl"; import type { MergeOptions, MergeRules } from "./types"; export declare const selectMergeRules: (data: unknown) => MergeRules; export declare const merge: (value: unknown, options?: MergeOptions) => unknown; export declare const allOfResolverHook: (options?: MergeOptions) => SyncCloneHook<{}>;