From 8f1fdf08f1352e6e38ec610a59ddac2551bca08e Mon Sep 17 00:00:00 2001 From: Tetiana Date: Sat, 19 Jun 2021 21:54:12 +0100 Subject: [PATCH] Add minor changes to docs --- src/clamp/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clamp/index.ts b/src/clamp/index.ts index c2f357a9b7..f847d19a49 100644 --- a/src/clamp/index.ts +++ b/src/clamp/index.ts @@ -25,8 +25,8 @@ import requiredArgs from '../_lib/requiredArgs/index' * }) * //=> Mon Mar 22 2021 00:00:00 * - * @param {Date | Number} date the date to be bounded - * @param {Interval} interval the interval to bound to + * @param {Date | Number} date - date the date to be bounded + * @param {Interval} interval - the interval to bound to * @returns {Date} the Date value bounded by the min and max date * @throws {TypeError} 2 arguments required * @throws {RangeError} The start of an interval cannot be after it's end