We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83570fe commit b60b5e4Copy full SHA for b60b5e4
index.js
@@ -27,7 +27,7 @@ module.exports = timeout
27
/**
28
* Create a new timeout middleware.
29
*
30
- * @param {number|string} time The timeout as a number of milliseconds or a string for `ms`
+ * @param {number|string} [time=5000] The timeout as a number of milliseconds or a string for `ms`
31
* @param {object} [options] Additional options for middleware
32
* @param {boolean} [options.respond=true] Automatically emit error when timeout reached
33
* @return {function} middleware
0 commit comments