@mongez/gnz
Version:
Generator Z, the next generation of scaffolding tools.
14 lines • 450 B
TypeScript
/**
* Use prettier to prettify Typescript code
* Use .prettierrc to configure prettier from cwd
*/
export declare function prettifyTypescript(code: string): Promise<string>;
export declare const format: {
typescript: typeof prettifyTypescript;
};
export declare const eslint: {
formatFile: typeof eslintFormatFile;
};
declare function eslintFormatFile(filePath: string): Promise<string>;
export {};
//# sourceMappingURL=prettifier.d.ts.map