• Resolve a sequence of paths or path segments into an absolute path. The root path in the application has no leading slash, so it is removed.


    • Rest ...parts: string[]

      The paths to join.


      The right-most parameter is considered {to}. Other parameters are considered an array of {from}.

      Starting from leftmost {from} parameter, resolves {to} to an absolute path.

      If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.

    Returns string

Generated using TypeDoc