Skip to content

Path.withSegments() method

pathlib-ts > Path > withSegments

Signature:

withSegments<T extends PurePath>(this: T, ...segments: Array<PathLike>): T;

Parameter

Type

Description

this

T

segments

Array<PathLike>

Returns:

T