UNPKG
networking
Version:
latest (1.0.1)
1.0.1
1.0.0
0.0.1
Library for typed, event-based networking between a server and clients.
networking
/
dist
/
common
/
serialize.d.ts
7 lines
(6 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
type
Json
=
boolean
|
number
|
string
|
null
|
JsonArray
|
JsonMap
|
undefined
;
export
interface
JsonMap
{ [
key
:
string
]:
Json
; }
export
interface
JsonArray
extends
Array
<
Json
> { }