UNPKG

deepl-node

Version:

deepl-node is the official DeepL Node.js client library

10 lines (9 loc) 388 B
/** * This class is necessary because some fs library methods and/or params are not available in older versions of node, such as v12 * * Docs for v12: https://nodejs.org/docs/latest-v12.x/api/fs.html#fspromisesreaddirpath-options */ export declare class FsHelper { static readdirSyncRecursive(filepath: string): string[]; static removeSyncRecursive(filepath: string): void; }