abi.js
Version:
[![typescript-icon]][typescript-link] [![license-icon]][license-link] [![status-icon]][status-link] [![ci-icon]][ci-link] [![twitter-icon]][twitter-link]
17 lines (16 loc) • 440 B
TypeScript
/**
* Join all given a sequence of `paths`,then normalizes the resulting path.
*
* @example Usage
* ```ts
* import { join } from "@std/path/windows/join";
* import { assertEquals } from "@std/assert";
*
* const joined = join("C:\\foo", "bar", "baz\\..");
* assertEquals(joined, "C:\\foo\\bar");
* ```
*
* @param paths The paths to join.
* @returns The joined path.
*/
export declare function join(...paths: string[]): string;