jiuyiUniapp/service/node_modules/recast/lib/printer.d.ts

15 lines
340 B
TypeScript
Raw Normal View History

2025-02-13 09:59:20 +08:00
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 };