From b9b266da953f757eaa5c62c16eeb86b02c4e10dc Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Fri, 31 Mar 2023 19:34:51 +0300 Subject: [PATCH] Fix Prettier issue --- app/features/build-analyzer/core/specialEffects.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/features/build-analyzer/core/specialEffects.ts b/app/features/build-analyzer/core/specialEffects.ts index ff8f1bcb4..6863c8b51 100644 --- a/app/features/build-analyzer/core/specialEffects.ts +++ b/app/features/build-analyzer/core/specialEffects.ts @@ -139,7 +139,7 @@ export function applySpecialEffects({ ldeIntensity, }: { abilityPoints: AbilityPoints; - effects: Array; + effects: Array<(typeof SPECIAL_EFFECTS)[number]["type"]>; ldeIntensity: number; }): AbilityPoints { const result: AbilityPoints = new Map(abilityPoints); @@ -168,7 +168,7 @@ function effectObjToValuesArr({ effectObj, ldeIntensity, }: { - effectObj: typeof SPECIAL_EFFECTS[number]; + effectObj: (typeof SPECIAL_EFFECTS)[number]; ldeIntensity: number; }) { if (typeof effectObj.values === "function") {