Skip to content

Commit

Permalink
fix monaco editor compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jun 14, 2019
1 parent 2b03e71 commit 58be455
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vs/base/parts/ipc/common/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 58be455

Please sign in to comment.