cool-admin-vue/packages/vite-plugin/dist/utils/index.d.ts

10 lines
557 B
TypeScript
Raw Normal View History

2024-04-23 17:26:21 +08:00
export declare function rootDir(path: string): string;
export declare function firstUpperCase(value: string): string;
export declare function toCamel(str: string): string;
2024-04-26 21:28:51 +08:00
export declare function createDir(path: string, recursive?: boolean): void;
2024-04-23 17:26:21 +08:00
export declare function readFile(path: string, json?: boolean): any;
export declare function writeFile(path: string, data: any): void | "";
export declare function parseJson(req: any): Promise<any>;
export declare function error(message: string): void;
export declare function success(message: string): void;