refactor: make match-collector export its types, and consume them in frontend
This commit is contained in:
@@ -17,26 +17,7 @@ export default withNuxt([
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
// Add global types from our API definitions
|
||||
ChampionSummary: 'readonly',
|
||||
LaneData: 'readonly',
|
||||
ChampionData: 'readonly',
|
||||
ItemTree: 'readonly',
|
||||
ItemTag: 'readonly',
|
||||
Builds: 'readonly',
|
||||
PerkStyle: 'readonly',
|
||||
PerksResponse: 'readonly',
|
||||
PerkStylesResponse: 'readonly',
|
||||
Champion: 'readonly',
|
||||
ChampionsResponse: 'readonly',
|
||||
ChampionResponse: 'readonly',
|
||||
ItemResponse: 'readonly',
|
||||
MatchupData: 'readonly',
|
||||
Item: 'readonly',
|
||||
SummonerSpell: 'readonly',
|
||||
Perk: 'readonly',
|
||||
FirstBackGroup: 'readonly'
|
||||
...globals.node
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
|
||||
Reference in New Issue
Block a user