MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / PrintResult

Interface PrintResult

src/LuaPrinter.ts:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77export type Printer = (program: ts.Program, emitHost: EmitHost, fileName: string, file: lua.File) => PrintResult;
78
79export interface PrintResult {
80 code: string;
81 sourceMap: string;
82 sourceMapNode: SourceNode;
83}
84
85export function createPrinter(printers: Printer[]): Printer {
86 if (printers.length === 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected