Add typed messaging

This commit is contained in:
hensm
2020-02-18 07:37:20 +00:00
parent 652fd21f77
commit 2eeaff4c15
19 changed files with 431 additions and 227 deletions

View File

@@ -44,7 +44,7 @@ type ErrorCallback = (err: Error_) => void;
let apiConfig: ApiConfig;
const receiverList: Receiver[] = [];
const receiverList: Array<{ id: string }> = [];
const sessionList: Session[] = [];
const receiverActionListeners = new Set<ReceiverActionListener>();