diff --git a/src/facilities/nursery/nurseryWidgets.js b/src/facilities/nursery/nurseryWidgets.js index a57ce9a98593008f8947a98d31c1aa71a607cf8c..40bcc3a84550772c1d95d44e808633cf1e61ec19 100644 --- a/src/facilities/nursery/nurseryWidgets.js +++ b/src/facilities/nursery/nurseryWidgets.js @@ -16085,7 +16085,7 @@ App.Facilities.Nursery.newChild = function newChild(child) { /** * @param {App.Entity.ChildState[]} [cribs] - * @returns {Object.<number, number>} + * @returns {object.<number, number>} */ App.Facilities.Nursery.cribsToIndices = function cribsToIndices(cribs = State.variables.cribs) { return cribs.reduce((acc, child, i) => { acc[child.ID] = i; return acc; }, {}); diff --git a/src/js/assayJS.js b/src/js/assayJS.js index b0142fbdc71096e0edecba02f0c2dcaa610d005e..3329b4556ca2b581c91a313cc8cb1f336167c3d8 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -281,7 +281,7 @@ window.removeSlave = function removeSlave(index) { /** * @param {App.Entity.SlaveState[]} [slaves] - * @returns {Object.<number, number>} + * @returns {object.<number, number>} */ window.slaves2indices = function slaves2indices(slaves = State.variables.slaves) { return slaves.reduce((acc, slave, i) => { acc[slave.ID] = i; return acc; }, {}); @@ -376,7 +376,7 @@ App.Utils.Pronouns = class { /** * @param {string} suffix - * @returns {Object.<string, string>} + * @returns {object.<string, string>} */ appendSuffix(suffix) { const r = {}; diff --git a/src/js/economyJS.js b/src/js/economyJS.js index e3447ba573d81e4dad24208bf27775fe9964116e..3daa3d8614194a18e435069eacbe4fc8a695b078 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -1887,7 +1887,7 @@ window.endWeekSlaveMarket = function() { /** * @param {App.Entity.SlaveState} s * @param {object|undefined} facility - * @returns {Object} + * @returns {object} */ window.getSlaveStatisticData = function(s, facility) { if (!facility) { // Base data, even without facility diff --git a/src/js/generateGenetics.js b/src/js/generateGenetics.js index 548d119fb77dd6a6e779fdefc0974dda29ee7e32..ef2fa96e827204cab2ff54bde44e802d31235c69 100644 --- a/src/js/generateGenetics.js +++ b/src/js/generateGenetics.js @@ -670,7 +670,7 @@ window.generateGenetics = (function() { * @param {App.Entity.SlaveState|number} father * @param {App.Entity.SlaveState} mother * @param {string} sex - * @returns {Object} + * @returns {object} */ function setGeneticQuirks(father, mother, sex) { let quirks = {