@salilvnair/jsxpa
Version:
React Persistant API
12 lines (11 loc) • 423 B
TypeScript
import { JsxElectronUtil } from '@salilvnair/jsx-electron';
export declare class FsCommonUtil {
private jsxElectronUtil;
path: any;
fs: any;
constructor(jsxElectronUtil: JsxElectronUtil);
writeFileIfNotExist(fileWithPath: string, contents: string): void;
checkAndCreateDestinationPath(fileDestination: string): void;
_forceCreateDir(dir: string): void;
readFileAsJson(jsonPath: any): any;
}