提交 36e96174 编写于 作者: J Joao Moreno

💄

上级 51047443
......@@ -91,7 +91,7 @@ export class Client implements IClient, IDisposable {
constructor(private ipc: IPC) {
ipc.send(Hello);
const receiverEvent = fromEventEmitter(ipc, Message, (_, message) => message);
const receiverEvent = fromEventEmitter<string>(ipc, Message, (_, message) => message);
this.protocol = new Protocol(ipc, receiverEvent);
this.ipcClient = new IPCClient(this.protocol);
}
......@@ -102,7 +102,7 @@ export class Client implements IClient, IDisposable {
dispose(): void {
this.ipc.send(Goodbye);
this.protocol = dispose(this.protocol);
this.ipcClient = dispose(this.ipcClient);
this.protocol = dispose(this.protocol);
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册