@xylink/xy-rtc-sdk 3.9.11-private.5 → 3.9.11-private.6
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/lib/tools/utils.d.ts +9 -2
- package/lib/xyrtc.cjs.js +1 -1
- package/lib/xyrtc.umd.js +1 -1
- package/package.json +1 -1
package/lib/tools/utils.d.ts
CHANGED
|
@@ -81,7 +81,14 @@ export declare const TYPEOF: {
|
|
|
81
81
|
/**
|
|
82
82
|
* JSON字符串转对象
|
|
83
83
|
*
|
|
84
|
-
* @param {
|
|
84
|
+
* @param { any } jsonString
|
|
85
85
|
* @returns { object}
|
|
86
86
|
*/
|
|
87
|
-
export declare const jsonParse: (jsonString:
|
|
87
|
+
export declare const jsonParse: (jsonString: any) => any;
|
|
88
|
+
/**
|
|
89
|
+
* 字符串转 JSON 字符串
|
|
90
|
+
*
|
|
91
|
+
* @param {string|object} value
|
|
92
|
+
* @returns {string}
|
|
93
|
+
*/
|
|
94
|
+
export declare const jsonStringify: (value: string | object) => string;
|