ms-types 0.3.17 → 0.3.18

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.17",
3
+ "version": "0.3.18",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/global.d.ts CHANGED
@@ -2,10 +2,6 @@
2
2
  * 是否是调试模式
3
3
  */
4
4
  declare const __debug__: boolean;
5
- /**
6
- * 是否应该退出应用
7
- */
8
- declare const __shouldExit__: boolean;
9
5
  /**
10
6
  * 应用版本
11
7
  */
package/types/thread.d.ts CHANGED
@@ -15,7 +15,7 @@ declare namespace thread {
15
15
  * })
16
16
  *
17
17
  * thread.js
18
- * while (!__shouldExit__) {
18
+ * while (true) {
19
19
  * // 通知主线程并传递数据
20
20
  * const data = thread.invokeCallback("callback", "hello world")
21
21
  * // 主线程返回数据
@@ -7,23 +7,10 @@ declare type 数组<T> = Array<T>;
7
7
  declare type 字典<T> = Record<字符串, T>;
8
8
  declare type 无返回值 = void;
9
9
 
10
- /**
11
- * true 别名
12
- */
13
- declare const $真: 布尔值;
14
- /**
15
- * false 别名
16
- */
17
- declare const $假: 布尔值;
18
-
19
10
  /**
20
11
  * 是否是调试模式
21
12
  */
22
13
  declare const $是否调试: 布尔值;
23
- /**
24
- * 是否应该退出应用
25
- */
26
- declare const $是否退出: 布尔值;
27
14
  /**
28
15
  * 应用版本
29
16
  */