ms-types 0.9.22 → 0.9.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.9.22",
3
+ "version": "0.9.23",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/node.d.ts CHANGED
@@ -114,9 +114,9 @@ declare interface NodeInfo {
114
114
  doubleTap(): boolean;
115
115
  /**
116
116
  * 无障碍长按
117
- * @param duration 长按持续时间,单位毫秒
117
+ * @param duration 长按持续时间,单位毫秒,默认 500
118
118
  */
119
- press(duration: number): boolean;
119
+ press(duration?: number): boolean;
120
120
  /**
121
121
  * 将节点滚动到可见区域
122
122
  */
@@ -112,9 +112,9 @@ declare interface $节点信息 {
112
112
  doubleTap(): 布尔值;
113
113
  /**
114
114
  * 无障碍长按
115
- * @param duration 长按持续时间,单位毫秒
115
+ * @param duration 长按持续时间,单位毫秒,默认 500
116
116
  */
117
- press(duration: 数字): 布尔值;
117
+ press(duration?: 数字): 布尔值;
118
118
  /**
119
119
  * 将节点滚动到可见区域
120
120
  */