Use GridArray interface
This commit is contained in:
parent
f76d28b5f0
commit
214f3cf398
1 changed files with 6 additions and 6 deletions
|
|
@ -13,14 +13,14 @@ interface State {
|
||||||
grid: {
|
grid: {
|
||||||
weapons: {
|
weapons: {
|
||||||
mainWeapon: GridWeapon | undefined,
|
mainWeapon: GridWeapon | undefined,
|
||||||
allWeapons: GridWeapon[]
|
allWeapons: GridArray<GridWeapon>
|
||||||
},
|
},
|
||||||
summons: {
|
summons: {
|
||||||
mainSummon: GridSummon | undefined,
|
mainSummon: GridSummon | undefined,
|
||||||
friendSummon: GridSummon | undefined,
|
friendSummon: GridSummon | undefined,
|
||||||
allSummons: GridSummon[]
|
allSummons: GridArray<GridSummon>
|
||||||
},
|
},
|
||||||
characters: GridCharacter[]
|
characters: GridArray<GridCharacter>
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
sourceItem: GridCharacter | GridWeapon | GridSummon | undefined
|
sourceItem: GridCharacter | GridWeapon | GridSummon | undefined
|
||||||
|
|
@ -40,14 +40,14 @@ const state: State = {
|
||||||
grid: {
|
grid: {
|
||||||
weapons: {
|
weapons: {
|
||||||
mainWeapon: undefined,
|
mainWeapon: undefined,
|
||||||
allWeapons: Array<GridWeapon>()
|
allWeapons: {}
|
||||||
},
|
},
|
||||||
summons: {
|
summons: {
|
||||||
mainSummon: undefined,
|
mainSummon: undefined,
|
||||||
friendSummon: undefined,
|
friendSummon: undefined,
|
||||||
allSummons: Array<GridSummon>()
|
allSummons: {}
|
||||||
},
|
},
|
||||||
characters: Array<GridCharacter>()
|
characters: {}
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
sourceItem: undefined
|
sourceItem: undefined
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue