UNPKG

@autobe/compiler

Version:

AI backend server code generator

11 lines (10 loc) 363 B
import ts from "typescript"; export declare namespace FilePrinter { const description: <Node extends ts.Node>(node: Node, comment: string) => Node; const newLine: () => ts.ExpressionStatement; const write: (props: { statements: ts.Statement[]; top?: string; }) => string; const beautify: (script: string) => Promise<string>; }