Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "fs/read-dir/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Callback

Callback: (err: Error | null, data: Array<string>) => void

Callback invoked after reading the contents of a directory.

param

error argument

param

directory contents

Type declaration

    • (err: Error | null, data: Array<string>): void
    • Parameters

      • err: Error | null
      • data: Array<string>

      Returns void

Variables

Export assignment readDir

readDir: ReadDir

Asynchronously reads the contents of a directory.

param

directory path

param

callback to invoke after reading directory contents