UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

13 lines (12 loc) 528 B
import { Definition } from "./Schema/Definition"; import { SubTypeFormatter } from "./SubTypeFormatter"; import { BaseType } from "./Type/BaseType"; export declare class ChainTypeFormatter implements SubTypeFormatter { private typeFormatters; constructor(typeFormatters: SubTypeFormatter[]); addTypeFormatter(typeFormatter: SubTypeFormatter): this; supportsType(type: BaseType): boolean; getDefinition(type: BaseType): Definition; getChildren(type: BaseType): BaseType[]; private getTypeFormatter; }