UNPKG

typescript-to-lua

Version:

A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!

15 lines (14 loc) 576 B
import * as ts from "typescript"; export declare const prepareDiagnosticForFormatting: (diagnostic: ts.Diagnostic) => { code: any; reportsUnnecessary?: {}; reportsDeprecated?: {}; source?: string; relatedInformation?: ts.DiagnosticRelatedInformation[]; category: ts.DiagnosticCategory; file: ts.SourceFile | undefined; start: number | undefined; length: number | undefined; messageText: string | ts.DiagnosticMessageChain; }; export declare function createDiagnosticReporter(pretty: boolean, system?: ts.System): ts.DiagnosticReporter;