UNPKG

nodito

Version:

Una librería para aprender juegos por turnos en node.

6 lines (5 loc) 348 B
export declare type MESSAGE_TYPE_FROM_SERVER = "alreadyRoom" | "startGame" | "pong" | "rooms" | "players" | "info" | "genericAlert" | "turn" | "questions" | "playStatus" | "loseGame" | "winGame" | "tieGame" | "chat" | "abandonGame" | "updateState"; export interface IMsgFromServer { type: MESSAGE_TYPE_FROM_SERVER; [others: string]: any; }