UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

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