UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

15 lines (14 loc) 407 B
import { BaseType } from "./BaseType.js"; export interface Annotations { [name: string]: any; } export declare class AnnotatedType extends BaseType { private type; private annotations; private nullable; constructor(type: BaseType, annotations: Annotations, nullable: boolean); getId(): string; getType(): BaseType; getAnnotations(): Annotations; isNullable(): boolean; }