Fix clampValue function docstring (#2796)

This commit is contained in:
Alexandr Garbuzov 2023-06-09 08:41:58 +03:00 committed by GitHub
parent b5f5befe32
commit 3416ae114f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ const parseArray = (str) => {
* @param {number} number The number to clamp. * @param {number} number The number to clamp.
* @param {number} min The minimum value. * @param {number} min The minimum value.
* @param {number} max The maximum value. * @param {number} max The maximum value.
* returns {number} The clamped number. * @returns {number} The clamped number.
*/ */
const clampValue = (number, min, max) => { const clampValue = (number, min, max) => {
// @ts-ignore // @ts-ignore