ms-types 0.1.16 → 0.1.17

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.16",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/global.d.ts CHANGED
@@ -107,7 +107,7 @@ declare function restartScript(delay: number): void;
107
107
  * @example
108
108
  * sleep(1000);
109
109
  */
110
- declare function sleep(ms: number): void;
110
+ declare function sleep(ms: number): void | Promise<void>;
111
111
 
112
112
  /**
113
113
  * 退出脚本