UNPKG

@adonisjs/require-ts

Version:
13 lines (12 loc) 480 B
export declare const debug: any; /** * Returns the cache directory path for a given file. The idea is to * use the filename as a directory and then drop files with their * hashes inside that directory. In case the file gets changed, * we just need to drop the directory */ export declare function getCachePathForFile(cwd: string, location: string): any; /** * Loads typescript from the user project dependencies */ export declare function loadTypescript(cwd: string): any;