mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
12 lines
587 B
TypeScript
12 lines
587 B
TypeScript
// Type definitions for recursive-readdir v1.2.1
|
|
// Project: https://github.com/jergason/recursive-readdir/
|
|
// Definitions by: Elisée Maurer <https://github.com/elisee/>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
declare module "recursive-readdir" {
|
|
function readdir(path: string, callback: (error: Error, files: string[]) => any): void;
|
|
// ignorePattern supports glob syntax via https://github.com/isaacs/minimatch
|
|
function readdir(path: string, ignorePattern: string[], callback: (error: Error, files: string[]) => any): void;
|
|
export = readdir;
|
|
}
|