rap2itf
Version:
rapper接口转换为typescirpt interface
15 lines (14 loc) • 483 B
TypeScript
/**
* 获取所有需要扫描的文件
* @param parentPath
*/
export declare function getFiles(parentPath: string): string[];
/**
* 扫描找出生成的模板文件是否被手动修改过
* @param rapperPath, 模板文件地址
*/
export declare function findChangeFiles(fileList: string[]): string[];
/**
* 从模板文件的前6行中扫描找出生成模板文件的 rapper 版本
*/
export declare function findRapperVersion(rapperPath: string): string;