UNPKG

networking

Version:

Library for typed, event-based networking between a server and clients.

7 lines (6 loc) 200 B
export declare type Json = boolean | number | string | null | JsonArray | JsonMap | undefined; export interface JsonMap { [key: string]: Json; } export interface JsonArray extends Array<Json> { }