PurePath.(constructor)
pathlib-ts > PurePath > (constructor)
PurePath.(constructor)
Section titled “PurePath.(constructor)”Constructs a new instance of the PurePath class
Signature:
constructor(...segments: Array<PathLike>);Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
segments |
Array<PathLike> |