• Adds the paths to the base path.

    Returns

    The potentially changed path (POSIX).

    Parameters

    • basePath: string

      The base path (POSIX or Windows).

    • Rest ...paths: string[]

      Subpaths to attach (POSIX).

    Returns string