docs: Update all files JSDoc.
This commit is contained in:
@@ -153,8 +153,8 @@ export function getXIndex(data, xValue) {
|
||||
return closestIndex;
|
||||
};
|
||||
/**
|
||||
*
|
||||
* @param {number} seconds
|
||||
* 有 dhms 表達的時間單位
|
||||
* @param {number} seconds 總秒數
|
||||
* @returns {string}
|
||||
*/
|
||||
export function formatTime(seconds) {
|
||||
@@ -180,8 +180,8 @@ export function formatTime(seconds) {
|
||||
} else return null;
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @param {array} times
|
||||
* 只顯示最大的兩個單位
|
||||
* @param {array} times 時間
|
||||
* @returns {array}
|
||||
*/
|
||||
export function formatMaxTwo(times) {
|
||||
|
||||
Reference in New Issue
Block a user