UNPKG

@lifaon/path

Version:

Useful tool to manage paths like the URL object

9 lines (8 loc) 473 B
import type { IPathSegments } from '../../../../types/segments/path-segments.type.js'; import { type IForcePathSegmentsAsRelativeOptions } from '../mutate/force-path-segments-as-relative.js'; export interface IMakePathSegmentsAsRelativeOptions extends IForcePathSegmentsAsRelativeOptions { } /** * @see forcePathSegmentsAsRelative */ export declare function makePathSegmentsAsRelative(segments: IPathSegments, options: IMakePathSegmentsAsRelativeOptions): IPathSegments;