Linting code

This commit is contained in:
David Négrier 2021-01-18 15:43:27 +01:00
parent 65d2c3dfb0
commit 0d4808231a
3 changed files with 5 additions and 4 deletions

View file

@ -544,7 +544,7 @@ export class SocketManager implements ZoneEventListener {
client.send(serverToClientMessage.serializeBinary().buffer, true);
}
public async emitSendUserMessage(userUuid: string, message: string, type: string): Promise<void> {
public emitSendUserMessage(userUuid: string, message: string, type: string): void {
const client = this.searchClientByUuid(userUuid);
if(!client){
throw Error('client not found');
@ -569,7 +569,7 @@ export class SocketManager implements ZoneEventListener {
});*/
}
public async emitBan(userUuid: string, message: string, type: string): Promise<void> {
public emitBan(userUuid: string, message: string, type: string): void {
const client = this.searchClientByUuid(userUuid);
if(!client){
throw Error('client not found');