You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
340 B

4 years ago
  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 };