Skip to content

Commit

Permalink
docs: Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigEge committed Jan 23, 2025
1 parent ef4d627 commit cd33f4a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions src/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export default class Profile {
*/
constructor(profile, locale = 'en', withItem = false) {
/**
* Player's acount ID
* @type {Stirng}
* Player's account ID
* @type {String}
*/
this.accountId = profile.AccountId.$oid;

Expand All @@ -45,7 +45,7 @@ export default class Profile {
this.masteryRank = profile.PlayerLevel;

/**
* Load out preset equiped
* Load out preset equipped
* @type {LoadOutPreset | undefined}
*/
if (profile.LoadOutPreset) this.preset = new LoadOutPreset(profile.LoadOutPreset);
Expand Down Expand Up @@ -118,13 +118,13 @@ export default class Profile {

/**
* Whether or not the player is qualified as a target for Zanuka
* @type {bool}
* @type {boolean}
*/
this.harvestable = profile.Harvestable;

/**
* Whether or not the player is qualified as a target for a syndicate death squad
* @type {bool}
* @type {boolean}
*/
this.deathSquadable = profile.DeathSquadable;

Expand All @@ -136,7 +136,7 @@ export default class Profile {

/**
* Whether the user has migrated to console or not
* @type {bool}
* @type {boolean}
*/
this.migratedToConsole = profile.MigratedToConsole;

Expand Down Expand Up @@ -187,14 +187,14 @@ export default class Profile {
this.wishList = profile.Wishlist;

/**
* Whhether the player has unlocked thier operator or not
* @type {bool}
* Whether the player has unlocked their operator or not
* @type {boolean}
*/
this.unlockedOperator = profile.UnlockedOperator;

/**
* Whether the player has unlocked their alignement or not
* @type {bool}
* Whether the player has unlocked their alignment or not
* @type {boolean}
*/
this.unlockedAlignment = profile.UnlockedAlignment;

Expand Down
14 changes: 7 additions & 7 deletions src/Stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class Stats {
this.guildName = stats.GuildName;

/**
* Player's total accumalted xp
* Player's total accumulated xp
* @type {String}
*/
this.xp = stats.XP;
Expand All @@ -35,25 +35,25 @@ export default class Stats {
this.missionsCompleted = stats.MissionsCompleted;

/**
* MIssions quit
* Missions quit
* @type {number}
*/
this.missionsQuit = stats.MissionsQuit;

/**
* MIsions failed
* Misions failed
* @type {number}
*/
this.missionsFailed = stats.missionsFailed;

/**
* MIssions interrupted
* Missions interrupted
* @type {number}
*/
this.missionsInterrupted = stats.MissionsInterrupted;

/**
* MIssions dumped
* Missions dumped
* @type {number}
*/
this.missionsDumped = stats.MissionsDumped;
Expand Down Expand Up @@ -95,7 +95,7 @@ export default class Stats {
this.forestEventScoreSum = stats.ForestEventScoreSum;

/**
* Melee kilss
* Melee kills
* @type {number}
*/
this.meleeKills = stats.MeleeKills;
Expand All @@ -107,7 +107,7 @@ export default class Stats {
this.abilities = stats.Abilities.map((a) => new Ability(a));

/**
* Ciphers completed succefully
* Ciphers completed successfully
* @type {number}
*/
this.ciphersSolved = stats.CiphersSolved;
Expand Down

0 comments on commit cd33f4a

Please sign in to comment.