type hints
This commit is contained in:
parent
2fb0e959ae
commit
0cb1cec210
2 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ import ConnectionOverlay from './../components/ConnectionOverlay.vue'
|
|||
import HelpOverlay from './../components/HelpOverlay.vue'
|
||||
|
||||
import { main, MODE_PLAY } from './../game'
|
||||
import { Player } from '../../common/Types'
|
||||
import { Game, Player } from '../../common/Types'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'game',
|
||||
|
|
@ -85,7 +85,7 @@ export default defineComponent({
|
|||
soundsVolume: 100,
|
||||
showPlayerNames: true,
|
||||
},
|
||||
game: null,
|
||||
game: null as Game|null,
|
||||
previewImageUrl: '',
|
||||
setHotkeys: (v: boolean) => {},
|
||||
onBgChange: (v: string) => {},
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ export default defineComponent({
|
|||
soundsVolume: 100,
|
||||
showPlayerNames: true,
|
||||
},
|
||||
game: null,
|
||||
game: null as Game|null,
|
||||
previewImageUrl: '',
|
||||
setHotkeys: (v: boolean) => {},
|
||||
onBgChange: (v: string) => {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue