UNPKG
eslint-plugin-import-x
Version:
latest (4.16.1)
4.16.1
4.16.0
4.15.2
4.15.1
4.15.0
4.14.2
4.14.1
4.14.0
4.13.3
4.13.2
4.13.1
4.13.0
4.12.2
4.12.1
4.12.0
4.11.1
4.11.0
4.10.6
4.10.5
4.10.4
4.10.3
4.10.2
4.10.1
4.10.0
4.9.4
4.9.3
4.9.2
4.9.1
4.9.0
4.8.1
4.8.0
4.7.2
4.7.1
4.7.0
4.6.1
4.6.0
4.5.1
4.5.0
4.4.3
4.4.2
4.4.0
4.3.1
4.3.0
4.2.1
4.2.0
4.1.1
4.1.0
4.0.0
3.1.0
3.0.1
3.0.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.0
Import with sanity.
github.com/un-ts/eslint-plugin-import-x
un-ts/eslint-plugin-import-x
eslint-plugin-import-x
/
lib
/
utils
/
parse-path.d.ts
8 lines
(7 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
ParsedPath
{
pathname
:
string
;
query
:
string
;
hash
:
string
; }
export
declare
const
parsePath
:
(
path
:
string
) =>
ParsedPath
;
export
declare
const
stringifyPath
:
(
{ pathname, query, hash }:
ParsedPath
) =>
string
;