Harmonize jsdoc

This commit is contained in:
Simon Seyock
2021-02-02 11:44:44 +01:00
parent d6d18d46a8
commit f590cb3473
26 changed files with 86 additions and 86 deletions

View File

@@ -6,7 +6,7 @@
* @param {number} number Number to be formatted
* @param {number} width The desired width
* @param {number=} opt_precision Precision of the output string (i.e. number of decimal places)
* @returns {string} Formatted string
* @return {string} Formatted string
*/
export function padNumber(number, width, opt_precision) {
const numberString =
@@ -22,7 +22,7 @@ export function padNumber(number, width, opt_precision) {
* Adapted from https://github.com/omichelsen/compare-versions/blob/master/index.js
* @param {string|number} v1 First version
* @param {string|number} v2 Second version
* @returns {number} Value
* @return {number} Value
*/
export function compareVersions(v1, v2) {
const s1 = ('' + v1).split('.');