Fix build issue with new interfaces

This commit is contained in:
Jan Oberhauser
2020-04-09 20:23:33 +02:00
parent 6f87895e00
commit be9474e84a
2 changed files with 20 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ export class Push {
this.channel.on('disconnect', (channel: string, res: express.Response) => {
if (res.req !== undefined) {
delete this.connections[res.req.query.sessionId];
delete this.connections[res.req.query.sessionId as string];
}
});
}