Skip to content

Commit 56d0da6

Browse files
committed
doc+fix(lexver): returns object, not string
1 parent 49771ec commit 56d0da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lexver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Lexver.parsePrefix = function (version) {
187187
* Ex: use '0001.0003' to find previous, stable, default, beta, and next
188188
* @param {Array<String>} versions - sorted lexical versions
189189
* @param {String} prefix - the string to match
190-
* @returns {String}
190+
* @returns {Object.<String, String>}
191191
*/
192192
Lexver.matchSorted = function (versions, prefix) {
193193
let matches = [];

0 commit comments

Comments
 (0)