@pawover/kit 0.0.0-beta.11 → 0.0.0-beta.12
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3439,7 +3439,7 @@ declare function stringTemplate(input: string, template: PlainObject, regex?: Re
|
|
|
3439
3439
|
* @param input 待处理字符串
|
|
3440
3440
|
* @param safeValue 安全值
|
|
3441
3441
|
*/
|
|
3442
|
-
declare function stringToJson<
|
|
3442
|
+
declare function stringToJson<D extends AnyObject = AnyObject>(input: string | null | undefined, safeValue: D): D;
|
|
3443
3443
|
//#endregion
|
|
3444
3444
|
//#region src/utils/string/stringToNumber.d.ts
|
|
3445
3445
|
/**
|