UNPKG

313 BTypeScriptView Raw
1export declare function writeFile(filepath: string, content: string): Promise<void>;
2export declare function readFile(filepath: string): Promise<string>;
3export declare function fileExists(filePath: string): Promise<boolean>;
4export declare function unlinkFile(filePath: string, cb?: (err?: Error) => any): void;