Fix string types in nav/side bars
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon';
|
import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon';
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
championName: String
|
championName: string
|
||||||
championLanes?: Array<LaneData>
|
championLanes?: Array<LaneData>
|
||||||
}>()
|
}>()
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
stateChange: [state: String, lane: number]
|
stateChange: [state: string, lane: number]
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const state = ref("runes")
|
const state = ref("runes")
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon';
|
import { LANE_IMAGES, lanePositionToIndex, POSITIONS_STR } from '~/utils/cdragon';
|
||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
championName: String
|
championName: string
|
||||||
championLanes?: Array<LaneData>
|
championLanes?: Array<LaneData>
|
||||||
}>()
|
}>()
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
stateChange: [state: String, lane: number]
|
stateChange: [state: string, lane: number]
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const state = ref("runes")
|
const state = ref("runes")
|
||||||
|
|||||||
Reference in New Issue
Block a user