@ceale/util 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/error.d.ts +1 -1
- package/dist/types/uri.d.ts +6 -5
- package/package.json +1 -1
package/dist/types/error.d.ts
CHANGED
package/dist/types/uri.d.ts
CHANGED
|
@@ -10,15 +10,16 @@ export declare namespace uri {
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* // 基础拼接
|
|
13
|
-
* uri.join('/a/', 'b', '/c')
|
|
13
|
+
* uri.join('/a/', 'b', '/c')
|
|
14
|
+
* // "/a/b/c"
|
|
14
15
|
*
|
|
15
|
-
* @example
|
|
16
16
|
* // 路径解析
|
|
17
|
-
* uri.join('/a/b/../c')
|
|
17
|
+
* uri.join('/a/b/../c')
|
|
18
|
+
* // "/a/c"
|
|
18
19
|
*
|
|
19
|
-
* @example
|
|
20
20
|
* // 保留协议头
|
|
21
|
-
* uri.join("http://example.com", "a")
|
|
21
|
+
* uri.join("http://example.com", "a")
|
|
22
|
+
* // "http://example.com/a"
|
|
22
23
|
*/
|
|
23
24
|
const join: (...path: string[]) => string;
|
|
24
25
|
}
|