@adonisjs/require-ts
Version:
In memory typescript compiler
13 lines (12 loc) • 480 B
TypeScript
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;