UNPKG

@lonu/stc

Version:

A tool for converting OpenApi/Swagger/Apifox into code.

17 lines 489 B
/** * Resolves path segments into a `path`. * * @example Usage * ```ts * import { resolve } from "@std/path/windows/resolve"; * import { assertEquals } from "@std/assert"; * * const resolved = resolve("C:\\foo\\bar", "..\\baz"); * assertEquals(resolved, "C:\\foo\\baz"); * ``` * * @param pathSegments The path segments to process to path * @returns The resolved path */ export declare function resolve(...pathSegments: string[]): string; //# sourceMappingURL=resolve.d.ts.map