Compare commits

..

2 Commits

Author SHA1 Message Date
Kevin C. Coram d7d04929d5
Suppress lint errors 2020-10-12 14:41:25 -04:00
Kevin C. Coram 15fd272ce3
Remove unused `tap` import 2020-10-12 14:40:22 -04:00
2 changed files with 3 additions and 1 deletions

View File

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

View File

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