ice-render 0.0.32 → 0.0.33

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.
@@ -95,7 +95,7 @@ declare class ICE {
95
95
  * 把对象序列化成 JSON 字符串:
96
96
  * - 容器型组件需要负责子节点的序列化操作
97
97
  * - 如果组件不需要序列化,需要返回 null
98
- * @returns JSONObject
98
+ * @returns Object
99
99
  */
100
100
  toJSON(): string;
101
101
  fromJSON(jsonStr: string): void;
@@ -23,10 +23,10 @@ export default class GeoPoint {
23
23
  *
24
24
  *
25
25
  * 从 JSON 对象创建 {GeoPoint} 实例。
26
- * @param {JSONObject} o the JSON parsed object
26
+ * @param {Object} o the JSON parsed object
27
27
  * @return {GeoPoint} a newly constructed GeoPoint
28
28
  */
29
- static load(o: JSONObject): GeoPoint;
29
+ static load(o: any): GeoPoint;
30
30
  /**
31
31
  *
32
32
  * @method cloneArray
@@ -12,7 +12,7 @@ export default class Serializer {
12
12
  * 把对象序列化成 JSON 字符串:
13
13
  * - 容器型组件需要负责子节点的序列化操作
14
14
  * - 如果组件不需要序列化,需要返回 null
15
- * @returns JSONObject
15
+ * @returns Object
16
16
  */
17
17
  toJSON(): string;
18
18
  private encodeRecursively;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "大漠穷秋",
3
3
  "name": "ice-render",
4
- "version": "0.0.32",
4
+ "version": "0.0.33",
5
5
  "description": "A canvas engine for interactive graphics.",
6
6
  "repository": "https://gitee.com/ice-render/ice-render",
7
7
  "module": "dist/index.js",