From faf47a8628ceebe59f85151180a4d42718de48f1 Mon Sep 17 00:00:00 2001 From: Vollmer Date: Tue, 9 Jan 2024 13:02:18 +0100 Subject: [PATCH] fix any[] type assertion for defaultTargets --- .../modules/features/BuffTargetHelper/BuffTargetHelper.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analysis/retail/evoker/augmentation/modules/features/BuffTargetHelper/BuffTargetHelper.tsx b/src/analysis/retail/evoker/augmentation/modules/features/BuffTargetHelper/BuffTargetHelper.tsx index 1a87ad484f4..912f249e349 100644 --- a/src/analysis/retail/evoker/augmentation/modules/features/BuffTargetHelper/BuffTargetHelper.tsx +++ b/src/analysis/retail/evoker/augmentation/modules/features/BuffTargetHelper/BuffTargetHelper.tsx @@ -281,7 +281,7 @@ class BuffTargetHelper extends Analyzer { return top4PumpersData; } - getDefaultTargets(top4PumpersData: [string, number[]][][]) { + getDefaultTargets(top4PumpersData: [string, number[]][][]): string[] { const nameSums = new Map(); top4PumpersData.flat().forEach(([name, values]) => { @@ -298,7 +298,7 @@ class BuffTargetHelper extends Analyzer { renderTableContent( topPumpersData: [string, number[]][][], - defaultTargets: any[], + defaultTargets: string[], top4PumpersData: [string, number[]][][], ) { const tableRows = []; @@ -413,7 +413,7 @@ class BuffTargetHelper extends Analyzer { * ...etc... * prescGlowsEnd */ - generateMRTNoteHenryG(top4Pumpers: [string, number[]][][], defaultTargets: any[]) { + generateMRTNoteHenryG(top4Pumpers: [string, number[]][][], defaultTargets: string[]) { // Initialize the note with the default targets let newNote = 'prescGlowsStart \n' +