@pawover/kit 0.0.0-beta.2 → 0.0.0-beta.3
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/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/patches-fetchEventSource.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2179,8 +2179,9 @@ declare function stringToNumber(input: string): string;
|
|
|
2179
2179
|
* 将路径转换为 POSIX 风格
|
|
2180
2180
|
*
|
|
2181
2181
|
* @param input 待处理字符串
|
|
2182
|
+
* @param removeLeadingSlash 是否移除开头斜杠,默认为 `false`
|
|
2182
2183
|
*/
|
|
2183
|
-
declare function stringToPosix(input: string | null | undefined): string;
|
|
2184
|
+
declare function stringToPosix(input: string | null | undefined, removeLeadingSlash?: boolean): string;
|
|
2184
2185
|
//#endregion
|
|
2185
2186
|
//#region src/utils/string/stringToValues.d.ts
|
|
2186
2187
|
/**
|