From a77c89a5459b83e896e8ecc983d20e6344fcc539 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Fri, 24 Sep 2021 18:39:17 +0300 Subject: [PATCH] Remove unnecessary comments from utils --- packages/utils/src/svg/size.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/utils/src/svg/size.ts b/packages/utils/src/svg/size.ts index 97b0bb3..6a49e5c 100644 --- a/packages/utils/src/svg/size.ts +++ b/packages/utils/src/svg/size.ts @@ -6,13 +6,6 @@ const unitsTest = /^-?[0-9.]*[0-9]+[0-9.]*$/g; /** * Calculate second dimension when only 1 dimension is set - * - * @param {string|number} size One dimension (such as width) - * @param {number} ratio Width/height ratio. - * If size is width, ratio = height/width - * If size is height, ratio = width/height - * @param {number} [precision] Floating number precision in result to minimize output. Default = 2 - * @return {string|number} Another dimension */ export function calculateSize( size: string | number,