diff --git a/src/lib/MUser.ts b/src/lib/MUser.ts index 8e72dc2816..dbd7b54201 100644 --- a/src/lib/MUser.ts +++ b/src/lib/MUser.ts @@ -43,7 +43,7 @@ import { ChargeBank } from './structures/Bank'; import { Gear, defaultGear } from './structures/Gear'; import { GearBank } from './structures/GearBank'; import type { XPBank } from './structures/XPBank'; -import {ItemBank, SkillRequirements, Skills} from './types'; +import type { ItemBank, SkillRequirements, Skills } from './types'; import { addItemToBank, convertXPtoLVL, fullGearToBank, hasSkillReqsRaw, itemNameFromID } from './util'; import { determineRunes } from './util/determineRunes'; import { getKCByName } from './util/getKCByName'; @@ -175,7 +175,7 @@ export class MUserClass { } get skillsAsRequirements(): Required { - return { ... this.skillsAsLevels, combat: this.combatLevel} + return { ...this.skillsAsLevels, combat: this.combatLevel }; } favAlchs(duration: number, agility?: boolean) { diff --git a/src/lib/util/smallUtils.ts b/src/lib/util/smallUtils.ts index e60279a565..9db8e8a6c8 100644 --- a/src/lib/util/smallUtils.ts +++ b/src/lib/util/smallUtils.ts @@ -9,7 +9,7 @@ import z from 'zod'; import { skillEmoji } from '../data/emojis'; import type { UserFullGearSetup } from '../gear/types'; -import {SkillRequirements, Skills} from '../types'; +import type { SkillRequirements, Skills } from '../types'; export function itemNameFromID(itemID: number | string) { return Items.get(itemID)?.name;