UNPKG

dtsgenerator

Version:

TypeScript d.ts file generator for JSON Schema file

10 lines (9 loc) 298 B
import { Config } from './config'; import { Schema } from './type'; export { default as SchemaId } from './schemaId'; export * from './type'; export interface Options { contents: Schema[]; config?: Partial<Config>; } export default function dtsGenerator(options: Options): Promise<string>;