printer.d.ts 340 B

1234567891011121314
  1. export interface PrintResultType {
  2. code: string;
  3. map?: any;
  4. toString(): string;
  5. }
  6. interface PrinterType {
  7. print(ast: any): PrintResultType;
  8. printGenerically(ast: any): PrintResultType;
  9. }
  10. interface PrinterConstructor {
  11. new (config?: any): PrinterType;
  12. }
  13. declare const Printer: PrinterConstructor;
  14. export { Printer };