mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 14:12:41 +01:00
9 lines
301 B
TypeScript
9 lines
301 B
TypeScript
import "missing-native-js-functions";
|
|
export interface traverseDirectoryOptions {
|
|
dirname: string;
|
|
filter?: RegExp;
|
|
excludeDirs?: RegExp;
|
|
recursive?: boolean;
|
|
}
|
|
export declare function traverseDirectory<T>(options: traverseDirectoryOptions, action: (path: string) => T): Promise<T[]>;
|