GT2/Ejectable/node_modules/@expo/configure-splash-screen/build/utils/file-utils.d.ts

10 lines
459 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
/**
* Creates file with given content with possible parent directories creation.
*/
export declare function createDirAndWriteFile(filePath: string, content: string): Promise<void>;
/**
* Reads given file as UTF-8 with fallback to given content when file is not found.
*/
export declare function readFileWithFallback(filePath: string, fallbackContent?: string): Promise<string>;
export declare function removeFileIfExists(filePath: string): Promise<void>;