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.

12 lines
413 B

5 years ago
  1. interface PatcherType {
  2. replace(loc: any, lines: any): any;
  3. get(loc?: any): any;
  4. tryToReprintComments(newNode: any, oldNode: any, print: any): any;
  5. deleteComments(node: any): any;
  6. }
  7. interface PatcherConstructor {
  8. new (lines: any): PatcherType;
  9. }
  10. declare const Patcher: PatcherConstructor;
  11. export { Patcher };
  12. export declare function getReprinter(path: any): ((print: any) => any) | undefined;