ms-types 0.1.10 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/global.d.ts CHANGED
@@ -67,7 +67,7 @@ declare const __package__: {
67
67
  * logi("脚本执行完成");
68
68
  * });
69
69
  */
70
- declare function setStopCallback(callback: Function): void;
70
+ declare function setStopCallback(callback: () => void): void;
71
71
 
72
72
  /**
73
73
  * 设置异常停止回调(仅主线程调用)