Compare commits

..

No commits in common. "d7d04929d508d65872a861a8ae8f432dcc56ee36" and "96b9eac4f7c9f388865fffea1a4aa2a05a5ddb0d" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -25,12 +25,10 @@ export class AppGateway
constructor(private appService: AppService) {}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
afterInit(server: Server) {
this.logger.log('Initialized...');
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-unused-vars
handleConnection(client: Socket, ...args: any[]) {
this.logger.log(`Client connected: ${client.id}`);
client.emit(MESSAGE_TO_CLIENT, this.appService.getMessages());

View File

@ -1,7 +1,7 @@
import { Component } from '@angular/core';
import { MessagesService } from './messages.service';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { map, tap } from 'rxjs/operators';
import { Message } from '@chat-room/api-interfaces';
@Component({