ts-patch
Version:
Patch typescript to support custom transformers in tsconfig.json
10 lines (9 loc) • 496 B
TypeScript
/**
* Attempts to locate global installation of TypeScript
*/
export declare function getGlobalTsDir(): any;
export declare const mkdirIfNotExist: (dir: string) => string | false | undefined;
export declare function withFileLock<T>(filePath: string, fn: () => T): T;
export declare function writeFileWithLock(filePath: string, content: string): void;
export declare function readFileWithLock(filePath: string): string;
export declare function copyFileWithLock(src: string, dest: string): void;