UNPKG

recast

Version:

JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator

15 lines (14 loc) 340 B
export interface PrintResultType { code: string; map?: any; toString(): string; } interface PrinterType { print(ast: any): PrintResultType; printGenerically(ast: any): PrintResultType; } interface PrinterConstructor { new (config?: any): PrinterType; } declare const Printer: PrinterConstructor; export { Printer };