ts-json-schema-generator
Version:
Generate JSON schema from your Typescript sources
16 lines (15 loc) • 455 B
TypeScript
export interface Config {
path?: string;
type?: string;
tsconfig?: string;
expose?: "all" | "none" | "export";
topRef?: boolean;
jsDoc?: "none" | "extended" | "basic";
sortProps?: boolean;
strictTuples?: boolean;
skipTypeCheck?: boolean;
encodeRefs?: boolean;
extraTags?: string[];
additionalProperties?: boolean;
}
export declare const DEFAULT_CONFIG: Omit<Required<Config>, "path" | "type" | "tsconfig">;