From b4ce0fc84f25f552a3b0b13bb0d0c9eff99e2a79 Mon Sep 17 00:00:00 2001 From: Prashant Date: Wed, 9 Aug 2023 07:21:42 +0530 Subject: [PATCH] update jsdoc for rangeStart function --- services/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/version.js b/services/version.js index 8c0be6bc65539..fc0b6d737457a 100644 --- a/services/version.js +++ b/services/version.js @@ -212,7 +212,7 @@ function slice(v, releaseType) { * * @param {string} v - A version string that follows the Semantic Versioning specification. The function will accept and coerce invalid versions into valid ones. * @returns {string} The start of the range that matches the given version string, or null if no match is found. - * @throws {TypeError} If v is not a string or is an empty string. + * @throws {TypeError} If v is an invalid semver range * @example * rangeStart('^1.2.3') // returns '1.2.3' * rangeStart('>=2.0.0') // returns '2.0.0'