diff options
Diffstat (limited to 'src/cleaners/skyblock/slayers.ts')
-rw-r--r-- | src/cleaners/skyblock/slayers.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/slayers.ts b/src/cleaners/skyblock/slayers.ts index f4d203e..782ec95 100644 --- a/src/cleaners/skyblock/slayers.ts +++ b/src/cleaners/skyblock/slayers.ts @@ -1,3 +1,5 @@ +import typedHypixelApi from 'typed-hypixel-api' + export const slayerLevels = 5 const SLAYER_NAMES = { @@ -29,7 +31,7 @@ export interface SlayerData { bosses: Slayer[] } -export function cleanSlayers(data: any): SlayerData { +export function cleanSlayers(data: typedHypixelApi.SkyBlockProfileMember): SlayerData { const slayers: Slayer[] = [] const slayersDataRaw = data?.slayer_bosses |