Files
old-kitabcitab-frontend/kitabcitab/node_modules/next/dist/server/lib/recursive-readdir-sync.d.ts

12 lines
391 B
TypeScript
Raw Normal View History

2022-12-27 12:05:56 +01:00
/**
* Recursively read directory
* Returns array holding all relative paths
*/
export declare function recursiveReadDirSync(
/** The directory to read */
dir: string,
/** This doesn't have to be provided, it's used for the recursion */
arr?: string[],
/** Used to replace the initial path, only the relative path is left, it's faster than path.relative. */
rootDir?: string): string[];