Louis Mazin fc8aef3ed3 test
2026-07-19 17:19:41 +02:00

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;
}