@bettergi/types 0.1.11 → 0.1.12

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.
@@ -9,6 +9,12 @@ declare global {
9
9
  */
10
10
  function sleep(duration: number): Promise<void>;
11
11
 
12
+ /**
13
+ * 获取 BetterGI 版本号
14
+ * @since 0.56.0
15
+ */
16
+ function getVersion(): string;
17
+
12
18
  /**
13
19
  * 模拟按下键盘按键(持续按住状态)
14
20
  * @param key - 要按下的按键
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettergi/types",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "BetterGI TypeScript 类型定义",
5
5
  "type": "module",
6
6
  "author": "Bread Grocery<https://github.com/breadgrocery>",