@oazmi/build-tools
Version:
general deno build tool scripts which I practically use in all of my typescript repos
17 lines • 499 B
TypeScript
/**
* Join all given a sequence of `paths`,then normalizes the resulting path.
*
* @example Usage
* ```ts
* import { join } from "@std/path/posix/join";
* import { assertEquals } from "@std/assert/assert-equals";
*
* const path = join("/foo", "bar", "baz/asdf", "quux", "..");
* assertEquals(path, "/foo/bar/baz/asdf");
* ```
*
* @param paths The paths to join.
* @returns The joined path.
*/
export declare function join(...paths: string[]): string;
//# sourceMappingURL=join.d.ts.map