Add standalone type definitions
This commit is contained in:
10
src/types/PlayerState.ts
Normal file
10
src/types/PlayerState.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Timer } from "./Timer";
|
||||
import { DiceState } from "./Dice";
|
||||
|
||||
export type PlayerState = {
|
||||
nickname: string;
|
||||
timer?: Timer;
|
||||
dice: DiceState;
|
||||
sessionId?: string;
|
||||
userId?: string;
|
||||
};
|
||||
Reference in New Issue
Block a user