UNPKG

json-machete

Version:
16 lines (15 loc) 419 B
import { JSONSchema } from './types'; import { Logger } from '@graphql-mesh/types'; export declare const AnySchema: { title: string; oneOf: ({ type: string; additionalProperties?: undefined; } | { type: string; additionalProperties: boolean; })[]; }; export declare function healJSONSchema(schema: JSONSchema, { logger }?: { logger?: Logger; }): Promise<JSONSchema>;