UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

9 lines (8 loc) 263 B
import { BaseType } from "./BaseType"; export declare type LiteralValue = string | number | boolean; export declare class LiteralType extends BaseType { private value; constructor(value: LiteralValue); getId(): string; getValue(): LiteralValue; }