Add request datatypes for hosting and joining a game

This commit is contained in:
Oliver-Akins 2020-09-28 23:06:19 -06:00
parent 8a9adb21f0
commit a1058444a9

12
src/types/data.d.ts vendored Normal file
View file

@ -0,0 +1,12 @@
interface HostGame {
username: string;
}
interface JoinGame {
game_code: string;
username: string;
}
interface GetPlayerList {
game_code: string;
}