mirror of
https://github.com/bendtherules/repro-typedoc-issue-jsdoc.git
synced 2026-08-19 00:34:06 +00:00
18 lines
318 B
JavaScript
18 lines
318 B
JavaScript
// @ts-check
|
|
|
|
const Calculations = {
|
|
|
|
/**
|
|
* @description Get minimum SIP amount
|
|
* @returns {number} - Returns here
|
|
* @param {Array<number>} priceArray - Input here
|
|
*/
|
|
getMaxAmount(priceArray) {
|
|
const maxPrice = Math.max(...priceArray);
|
|
return maxPrice;
|
|
},
|
|
|
|
};
|
|
|
|
module.exports = Calculations;
|