10 lines
388 B
TypeScript
10 lines
388 B
TypeScript
/**
|
|
* 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;
|
|
}
|