UNPKG

ts-json-schema-generator

Version:

Generate JSON schema from your Typescript sources

8 lines (7 loc) 263 B
import * as ts from "typescript"; import { BaseError } from "./BaseError"; export declare class DiagnosticError extends BaseError { private diagnostics; constructor(diagnostics: readonly ts.Diagnostic[]); getDiagnostics(): readonly ts.Diagnostic[]; }