ms-types 0.1.2 → 0.1.3

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.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/hid.d.ts CHANGED
@@ -50,7 +50,7 @@ declare namespace hid {
50
50
  * 重置坐标
51
51
  * @param orientation 屏幕方向 可选值为"PORTRAIT"和"LANDSCAPE"
52
52
  */
53
- function resetPosition(orientation?: string): void;
53
+ function resetPosition(orientation?: "PORTRAIT" | "LANDSCAPE"): void;
54
54
 
55
55
  /**
56
56
  * 点击指定坐标
@@ -52,7 +52,7 @@ declare namespace $HID {
52
52
  * 重置坐标
53
53
  * @param 屏幕方向 可选值为"PORTRAIT"和"LANDSCAPE"
54
54
  */
55
- function 重置坐标(屏幕方向?: 字符串): 无返回值;
55
+ function 重置坐标(屏幕方向?: "PORTRAIT" | "LANDSCAPE"): 无返回值;
56
56
 
57
57
  /**
58
58
  * 点击指定坐标