ms-types 0.0.47 → 0.0.48
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 +1 -1
- package/types/global.d.ts +2 -1
package/package.json
CHANGED
package/types/global.d.ts
CHANGED
|
@@ -101,11 +101,12 @@ declare function restartScript(delay: number): void;
|
|
|
101
101
|
declare function sleep(ms: number): void;
|
|
102
102
|
/**
|
|
103
103
|
* 退出应用
|
|
104
|
+
* @param exitAll 是否退出所有线程 true 退出所有 false 退出当前线程,不传默认 false
|
|
104
105
|
* @description 退出应用会终止所有线程的执行
|
|
105
106
|
* @example
|
|
106
107
|
* exit();
|
|
107
108
|
*/
|
|
108
|
-
declare function exit(): void;
|
|
109
|
+
declare function exit(exitAll?: boolean): void;
|
|
109
110
|
/**
|
|
110
111
|
* 获取当前时间戳
|
|
111
112
|
* @returns 时间戳
|