Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "fs/resolve-parent-path/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Callback

Callback: (err: Error | null, path: string | null) => void

Callback invoked after resolving a path.

param

error argument

param

resolved path

Type declaration

    • (err: Error | null, path: string | null): void
    • Parameters

      • err: Error | null
      • path: string | null

      Returns void

Variables

Export assignment resolveParentPath

resolveParentPath: ResolveParentPath

Asynchronously resolves a path by walking parent directories.

param

path to resolve

param

function options

param

base directory

param

callback to invoke after resolving a path

throws

must provide valid options