ms-types 0.3.4 → 0.3.5

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.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/global.d.ts CHANGED
@@ -128,12 +128,13 @@ declare function time(): number;
128
128
 
129
129
  /**
130
130
  * 把 app 切换到前台 utils.takeMeToFront 的别名
131
+ * @returns 是否成功切换到前台
131
132
  * @see utils.takeMeToFront
132
133
  * @description 把 app 切换到前台
133
134
  * @example
134
135
  * takeMeToFront();
135
136
  */
136
- declare function takeMeToFront(): void;
137
+ declare function takeMeToFront(): boolean;
137
138
 
138
139
  /**
139
140
  * 打印调试日志 - 输出调试级别的日志