Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "fs/append-file/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Callback

Callback: (err: Error | null) => void

Callback invoked upon writing data to a file.

param

error object

Type declaration

    • (err: Error | null): void
    • Parameters

      • err: Error | null

      Returns void

Variables

Export assignment appendFile

appendFile: AppendFile

Asynchronously appends data to a file.

param

file path or file descriptor

param

data to append

param

options (if a string, the value is the encoding)

param

callback to invoke after appending data to a file