UNPKG

@salilvnair/jsxpa

Version:
12 lines (11 loc) 423 B
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; }