ms-types 0.3.22 → 0.3.23

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.22",
3
+ "version": "0.3.23",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/thread.d.ts CHANGED
@@ -26,7 +26,7 @@ declare namespace thread {
26
26
 
27
27
  /**
28
28
  * 异步执行线程代码
29
- * @param threadFunc 线程函数
29
+ * @param threadJsFileName 线程js文件路径
30
30
  * @returns 线程对象
31
31
  * @example
32
32
  * thread.run("test_thread.js")
@@ -27,10 +27,8 @@ declare namespace $线程 {
27
27
 
28
28
  /**
29
29
  * 异步执行线程代码
30
- * @param 线程js文件路径
31
- * @param 回调函数名称
32
- * @param 回调函数
33
- * @returns 线程名称
30
+ * @param 线程js文件名 线程js文件路径
31
+ * @returns 线程对象
34
32
  * @example
35
33
  * $线程.运行("test_thread.js")
36
34
  */