fix: fix typing errors
All checks were successful
pipeline / lint-and-format (push) Successful in 4m17s
pipeline / build-and-push-images (push) Successful in 1m13s

This commit is contained in:
2026-04-30 13:17:35 +02:00
parent a0b3e49759
commit a467046c55
4 changed files with 7 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ function selectBuild(index: number): void {
v-for="(build, i) in builds"
:key="i"
:keystone-id="build.runeKeystone"
:item-id="build.items.children[0].data"
:item-id="build.items.children[0].data!"
:keystore="perks"
:item-map="itemMap"
:pickrate="build.pickrate"

View File

@@ -1,3 +1,5 @@
import type { Item } from '~/types/cdragon'
/**
* Composable for fetching and managing item data from CDragon API
* Returns a reactive Map of item ID to item data

View File

@@ -1,3 +1,5 @@
import type { Perk, PerkStyle } from '~/types/cdragon'
/**
* Composable for fetching and managing rune styles and keystones
* Transforms rune data into format needed for display components

View File

@@ -1,3 +1,5 @@
import type { SummonerSpell } from '~/types/cdragon'
/**
* Composable for fetching and managing summoner spell data from CDragon API
* Returns a reactive Map of spell ID to spell data