Type alias ReadDirCallback<T>
ReadDirCallback<T>: ((err: NodeJS.ErrnoException, files?: T) => void)
Type Parameters
-
T = string[] | Buffer[] | Dirent[]
Type declaration
-
- (err: NodeJS.ErrnoException, files?: T): void
-
Parameters
-
err: NodeJS.ErrnoException
-
Optional
files: T
Returns void
Get results of readdir().