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