Skip to content

Commit

Permalink
fix any[] type assertion for defaultTargets
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Jan 9, 2024
1 parent 9a5c47c commit faf47a8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]) => {
Expand All @@ -298,7 +298,7 @@ class BuffTargetHelper extends Analyzer {

renderTableContent(
topPumpersData: [string, number[]][][],
defaultTargets: any[],
defaultTargets: string[],
top4PumpersData: [string, number[]][][],
) {
const tableRows = [];
Expand Down Expand Up @@ -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' +
Expand Down

0 comments on commit faf47a8

Please sign in to comment.