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.
keys
tokensToRegExp
1 parent 1973fb3 commit 761c721Copy full SHA for 761c721
Readme.md
@@ -192,7 +192,7 @@ toPathRegexp({ id: 'abc' }) //=> Throws `TypeError`.
192
193
Path-To-RegExp exposes the two functions used internally that accept an array of tokens.
194
195
-* `pathToRegexp.tokensToRegExp(tokens, options)` Transform an array of tokens into a matching regular expression.
+* `pathToRegexp.tokensToRegExp(tokens, keys?, options?)` Transform an array of tokens into a matching regular expression.
196
* `pathToRegexp.tokensToFunction(tokens)` Transform an array of tokens into a path generator function.
197
198
#### Token Information
0 commit comments