Skip to content

Commit

Permalink
fix: ts ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Feb 16, 2024
1 parent c52f24b commit c7f2ef8
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions packages/tosu/src/entities/BeatmapPpData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,24 +404,15 @@ export class BeatmapPPData extends AbstractEntity {
maxCombo: fcPerformance.difficulty.maxCombo,
fullStars: fcPerformance.difficulty.stars,
stars: fcPerformance.difficulty.stars,
// @ts-ignore
aim: fcPerformance.difficulty.aim,
// @ts-ignore
speed: fcPerformance.difficulty.speed,
// @ts-ignore
flashlight: fcPerformance.difficulty.flashlight,
// @ts-ignore
sliderFactor: fcPerformance.difficulty.sliderFactor,
// @ts-ignore
stamina: fcPerformance.difficulty.stamina,
// @ts-ignore
rhythm: fcPerformance.difficulty.rhythm,
// @ts-ignore
color: fcPerformance.difficulty.color,
// @ts-ignore
peak: fcPerformance.difficulty.peak,
// @ts-ignore
hitWindow: fcPerformance.difficulty.hitWindow
aim: (fcPerformance.difficulty as any).aim,
speed: (fcPerformance.difficulty as any).speed,
flashlight: (fcPerformance.difficulty as any).flashlight,
sliderFactor: (fcPerformance.difficulty as any).sliderFactor,
stamina: (fcPerformance.difficulty as any).stamina,
rhythm: (fcPerformance.difficulty as any).rhythm,
color: (fcPerformance.difficulty as any).color,
peak: (fcPerformance.difficulty as any).peak,
hitWindow: (fcPerformance.difficulty as any).hitWindow
});
}
}

0 comments on commit c7f2ef8

Please sign in to comment.