function-timeout
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -34,3 +34,3 @@ export type Options = { | ||
*/ | ||
export default function functionTimeout<T extends Function>(function_: T, options: Options): T; // eslint-disable-line @typescript-eslint/ban-types | ||
export default function functionTimeout<T extends Function>(function_: T, options?: Options): T; // eslint-disable-line @typescript-eslint/ban-types | ||
@@ -37,0 +37,0 @@ /** |
{ | ||
"name": "function-timeout", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Make a synchronous function have a timeout", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
6115