diff --git a/src/004-base/facility.js b/src/004-base/facility.js index 8ad4843add6a9bc00db2ab64cdc44f99bb911790..0b5246c0a78472f996f3ac4f3d5fd8909e9d87b1 100644 --- a/src/004-base/facility.js +++ b/src/004-base/facility.js @@ -41,7 +41,7 @@ App.Data.FacilityDesc = class { * If null, baseName is used instead */ this.genericName = ""; - /** @type {object.<string, App.Data.JobDesc>} */ + /** @type {Object.<string, App.Data.JobDesc>} */ this.jobs = {}; this.defaultJob = ""; /** @type {App.Data.ManagerJobDesc} */ @@ -277,7 +277,7 @@ App.Entity.Facilities.Facility = class { constructor(desc, jobs, manager) { this.desc = desc; jobs = jobs || {}; - /** @private @type {object.<string, App.Entity.Facilities.Job>} */ + /** @private @type {Object.<string, App.Entity.Facilities.Job>} */ this._jobs = {}; for (const jn in this.desc.jobs) { diff --git a/src/facilities/nursery/nurseryWidgets.js b/src/facilities/nursery/nurseryWidgets.js index 869f93e70aad1382fea698d367408a963acba2cd..7e7630f26f2935e483eeacb5299f12660ecebfee 100644 --- a/src/facilities/nursery/nurseryWidgets.js +++ b/src/facilities/nursery/nurseryWidgets.js @@ -17566,7 +17566,7 @@ App.Facilities.Nursery.ChildState = class ChildState { /** * brand * - * @type {object.<string, string>} */ + * @type {Object.<string, string>} */ this.brand = {}; /** Has pierced ears * diff --git a/src/js/CustomSlave.js b/src/js/CustomSlave.js index 503f0e79f04bc57fd66222fd6aee43275e59fb6f..3bcca823e97f263579a19ddffceab174a675aca5 100644 --- a/src/js/CustomSlave.js +++ b/src/js/CustomSlave.js @@ -133,7 +133,7 @@ App.Entity.CustomSlaveOrder = class CustomSlaveOrder { /** desired skills rating (.whore controls both whoring and entertainment, .combat controls combat) * Values as in SlaveState. - * @type {object.<number, number>} + * @type {Object.<number, number>} */ this.skill = {whore: 15, combat: 0}; @@ -156,12 +156,12 @@ App.Entity.CustomSlaveOrder = class CustomSlaveOrder { this.nationality = "Stateless"; /** desired left and right leg state - * @type {object.<App.Entity.LimbState, App.Entity.LimbState>} + * @type {Object.<App.Entity.LimbState, App.Entity.LimbState>} */ this.leg = {left: new App.Entity.LimbState(), right: new App.Entity.LimbState()}; /** desired left and right arm state - * @type {object.<App.Entity.LimbState, App.Entity.LimbState>} + * @type {Object.<App.Entity.LimbState, App.Entity.LimbState>} */ this.arm = {left: new App.Entity.LimbState(), right: new App.Entity.LimbState()}; diff --git a/src/js/SlaveState.js b/src/js/SlaveState.js index 28cec7f2c28791c086ea8ea0f603f82529ab22c5..156751c2bd96283114a28d0d3b6f61a7ced34658 100644 --- a/src/js/SlaveState.js +++ b/src/js/SlaveState.js @@ -1456,7 +1456,7 @@ App.Entity.SlaveState = class SlaveState { /** * brand * - * @type {object.<string, string>} */ + * @type {Object.<string, string>} */ this.brand = {}; /** has pierced ears * @@ -2279,7 +2279,7 @@ App.Entity.SlaveState = class SlaveState { * Sub-object: * the body part in question, such as back or left hand * the key of that part is the type of scar they can have and the value is how serious it is, from 0 up - * @type {object.object} */ + * @type {Object.<string, Object>} */ this.scar = {}; /** * In a eugenics society, this slave is a designated breeder. diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 6fcbac674d00528308123a9018c79908b7f01d65..7c1186df79bb3988f31d5e8ccb2825669da5556d 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -32,7 +32,7 @@ App.UI.SlaveList.render = function() { // potentially can be a problem if played long enough to reach Number.MAX_SAFE_INTEGER let listID = Number.MIN_SAFE_INTEGER; - /** @type {object.<number, Node>}*/ + /** @type {Object.<number, Node>}*/ const readyResults = { }; diff --git a/src/player/js/PlayerState.js b/src/player/js/PlayerState.js index 03965b9d258178ff68015b74a2428ca9ce789b92..137e80a63ec4375f815aa4232b8bf7b2c9d22f35 100644 --- a/src/player/js/PlayerState.js +++ b/src/player/js/PlayerState.js @@ -1224,7 +1224,7 @@ App.Entity.PlayerState = class PlayerState { /** * brand * - * @type {object.<string, string>} */ + * @type {Object.<string, string>} */ this.brand = {}; /** has pierced ears * @@ -1851,7 +1851,7 @@ App.Entity.PlayerState = class PlayerState { * Sub-object: * the body part in question, such as back or left hand * the key of that part is the type of scar they can have and the value is how serious it is, from 0 up - * @type {object.object} */ + * @type {Object.<string, object>} */ this.scar = {}; /** * In a eugenics society, you are a designated breeder.