Skip to content

Commit f3fa758

Browse files
ankondougwilson
authored andcommitted
Fix JSDoc for Router constructor
fixes #3598 fixes #3599 fixes #3698
1 parent ede24da commit f3fa758

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

History.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
unreleased
2+
==========
3+
4+
* Fix JSDoc for `Router` constructor
5+
16
4.16.3 / 2018-03-12
27
===================
38

lib/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var toString = Object.prototype.toString;
3535
/**
3636
* Initialize a new `Router` with the given `options`.
3737
*
38-
* @param {Object} options
38+
* @param {Object} [options]
3939
* @return {Router} which is an callable function
4040
* @public
4141
*/

0 commit comments

Comments
 (0)