Comparing version 1.1.2 to 1.1.3
@@ -0,2 +1,5 @@ | ||
/** | ||
* @param time - millisecond number, or '1s' which https://www.npmjs.com/package/ms support | ||
*/ | ||
declare function sleep(time: number | string): Promise<void>; | ||
export = sleep; |
@@ -6,2 +6,5 @@ "use strict"; | ||
const ms_1 = __importDefault(require("ms")); | ||
/** | ||
* @param time - millisecond number, or '1s' which https://www.npmjs.com/package/ms support | ||
*/ | ||
function sleep(time) { | ||
@@ -8,0 +11,0 @@ let numTime; |
{ | ||
"name": "ko-sleep", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A promise wrapper for `setTimeout`", | ||
@@ -5,0 +5,0 @@ "main": "./dist/sleep.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3500
28