@ant-design/tools
Version:
tools for ant design
18 lines (17 loc) • 479 B
TypeScript
interface ProcessResult {
code: string;
}
interface GetCacheKeyOptions {
instrument: boolean;
config: {
rootDir: string;
};
configString: string;
}
declare function transform(src: string, pathFilename: string): ProcessResult;
declare function getCacheKey(fileData: string, filename: string, options: GetCacheKeyOptions): string;
declare const _default: {
process: typeof transform;
getCacheKey: typeof getCacheKey;
};
export default _default;