docs: Update all files JSDoc.
This commit is contained in:
@@ -2,7 +2,7 @@ import moment from 'moment';
|
||||
|
||||
/**
|
||||
* 將秒數轉換成帶有時間單位的格式
|
||||
* @param {number} second
|
||||
* @param {number} second 總秒數
|
||||
* @param {number} fixedNumber 小數點後幾位
|
||||
* @returns {string} 轉換完的格式(ex: 1 day, 6.8 hrs)
|
||||
*/
|
||||
@@ -30,7 +30,7 @@ export function getTimeLabel(second, fixedNumber = 0) {
|
||||
}
|
||||
/**
|
||||
* 將秒數轉換成帶有縮寫時間單位的格式
|
||||
* @param {number} second
|
||||
* @param {number} second 總秒數
|
||||
* @param {number} fixedNumber 小數點後幾位
|
||||
* @returns {string} 轉換完的格式(ex: 1 d, 6.8 h)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user