@hyext/types-ext-sdk-hy 4.2.0-beta.1 → 4.2.0-beta.2
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/index.d.ts +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -8905,6 +8905,16 @@ type SetStorageReq = {
|
|
|
8905
8905
|
encrypt: boolean;
|
|
8906
8906
|
};
|
|
8907
8907
|
|
|
8908
|
+
/**
|
|
8909
|
+
* 将任意数据转换为统一格式:{ dataType: string, data: any }
|
|
8910
|
+
*/
|
|
8911
|
+
function transformData(data: any): any;
|
|
8912
|
+
|
|
8913
|
+
/**
|
|
8914
|
+
* 将 { dataType, data } 结构还原成原始数据
|
|
8915
|
+
*/
|
|
8916
|
+
function restoreData(wrapper: any): any;
|
|
8917
|
+
|
|
8908
8918
|
/**
|
|
8909
8919
|
* 流模块
|
|
8910
8920
|
*/
|