@lifaon/path
Version:
Useful tool to manage paths like the URL object
10 lines (9 loc) • 501 B
TypeScript
import type { IPathSegments } from '../../../../types/segments/path-segments.type.js';
import { type IIsRootPathSegmentsOptions } from '../is/is-root-path-segments.js';
export interface IPathSegmentsToStringPathOptions extends IIsRootPathSegmentsOptions {
readonly separator: string;
}
/**
* Converts some`IPathSegments` into a string path.
*/
export declare function convertPathSegmentsToStringPath(segments: IPathSegments, { separator, ...options }: IPathSegmentsToStringPathOptions): string;