PeerEvent: { peer: Peer; } & ({ error: Error; type: ERROR; } | { conn: DataConnection; type: CONNECT; } | { currentId: string; type: DISCONNECT; } | { call: MediaConnection; type: CALL; } | { type: CLOSE; } | { id: string; type: OPEN; } | { type: BUS_CLOSE; })