提交 58be455d 编写于 作者: J Joao Moreno

fix monaco editor compilation

上级 2b03e716
......@@ -248,7 +248,7 @@ function deserialize(reader: IReader): any {
interface PendingRequest {
request: IRawPromiseRequest | IRawEventListenRequest;
timeoutTimer: NodeJS.Timer;
timeoutTimer: any;
}
export class ChannelServer<TContext = string> implements IChannelServer<TContext>, IDisposable {
......@@ -718,9 +718,9 @@ export class IPCServer<TContext = string> implements IChannelServer<TContext>, I
registerChannel(channelName: string, channel: IServerChannel<TContext>): void {
this.channels.set(channelName, channel);
for (const connection of this._connections) {
this._connections.forEach(connection => {
connection.channelServer.registerChannel(channelName, channel);
}
});
}
dispose(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册