UNPKG

@adonisjs/require-ts

Version:
16 lines (15 loc) 394 B
import tsStatic from 'typescript'; /** * Exposes the API to report/print typescript diagnostic reports */ export declare class DiagnosticsReporter { private appRoot; private ts; private pretty; /** * Diagnostics host */ private host; constructor(appRoot: string, ts: typeof tsStatic, pretty: boolean); report(diagnostics: tsStatic.Diagnostic[]): void; }