UNPKG
@lifaon/path
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
Useful tool to manage paths like the URL object
github.com/lifaon74/path
lifaon74/path
@lifaon/path
/
types
/
path-input.type.d.ts
7 lines
(6 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Path
}
from
'../class/path.class.js'
;
import
type
{
IUncheckedPathSegments
}
from
'./segments/unchecked-path-segments.type.js'
;
/** * Various inputs that may serve as a path. */
export
type
IPathInput
=
string
|
IUncheckedPathSegments
|
Path
;