UNPKG

@towercg2/server

Version:

The server runtime for the TowerCG2 video graphics system.

8 lines (7 loc) 262 B
/// <reference types="socket.io" /> import SocketIO from "socket.io"; import { ClientInfo } from "@towercg2/client"; export interface Constructor { new (...args: any[]): any; } export declare function socketToClientInfo(socket: SocketIO.Socket): ClientInfo;