fix: fix typing errors
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user