Installation
npm install --save @types/json-schema-generator
Summary
This package contains type definitions for json-schema-generator (https://github.com/krg7880/json-schema-generator).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema-generator.
index.d.ts
import { JSONSchema4 } from "json-schema";
export = jsonToSchema;
/**
* JSON schema generated based on draft-v4 of the specification.
*/
declare function jsonToSchema(schema: object): JSONSchema4;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/json-schema
Credits
These definitions were written by Marcell Toth.