Function symlink

  • symlink.

    Parameters

    • target: PathLike

      target path

    • path: PathLike

      link path

    • type: null | string = 'file'

      can be either 'dir' or 'file' (default is 'file')

    Returns Promise<void>