type hints

This commit is contained in:
Zutatensuppe 2021-07-09 01:19:35 +02:00
parent 2fb0e959ae
commit 0cb1cec210
2 changed files with 3 additions and 3 deletions

View file

@ -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) => {},

View file

@ -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) => {},