From d96994289b24c4bbd056660c5fe11fff0f77635e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 1 Apr 2020 14:16:19 +0200 Subject: Update server dependencies --- shared/extra-utils/miscs/email.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared/extra-utils/miscs/email.ts') diff --git a/shared/extra-utils/miscs/email.ts b/shared/extra-utils/miscs/email.ts index b2a1093da..d6219deb3 100644 --- a/shared/extra-utils/miscs/email.ts +++ b/shared/extra-utils/miscs/email.ts @@ -12,7 +12,7 @@ class MockSmtpServer { private constructor () { this.emailChildProcess = fork(`${__dirname}/email-child-process`, []) - this.emailChildProcess.on('message', (msg) => { + this.emailChildProcess.on('message', (msg: any) => { if (msg.email) { return this.emails.push(msg.email) } @@ -36,7 +36,7 @@ class MockSmtpServer { this.emailChildProcess.on('exit', () => { return rej(new Error('maildev exited unexpectedly, confirm port not in use')) }) - this.emailChildProcess.on('message', (msg) => { + this.emailChildProcess.on('message', (msg: any) => { if (msg.err) { return rej(new Error(msg.err)) } -- cgit v1.2.3