refactor: make match-collector export its types, and consume them in frontend
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
import { CDRAGON_BASE } from '~/utils/cdragon'
|
||||
import MatchupSpectrum from './Spectrum.vue'
|
||||
|
||||
import type { MatchupData } from 'match_collector'
|
||||
|
||||
defineProps<{
|
||||
matchups?: Array<MatchupData>
|
||||
championId: number
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
import { ref } from 'vue'
|
||||
import { CDRAGON_BASE } from '~/utils/cdragon'
|
||||
|
||||
import type { MatchupData } from 'match_collector'
|
||||
|
||||
defineProps<{
|
||||
matchups?: Array<MatchupData>
|
||||
championId: number
|
||||
|
||||
Reference in New Issue
Block a user