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/__ngcc_entry_points__.json | 1 + shared/extra-utils/miscs/email.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 shared/__ngcc_entry_points__.json (limited to 'shared') diff --git a/shared/__ngcc_entry_points__.json b/shared/__ngcc_entry_points__.json new file mode 100644 index 000000000..179bdcda3 --- /dev/null +++ b/shared/__ngcc_entry_points__.json @@ -0,0 +1 @@ +{"ngccVersion":"9.1.0","configFileHash":"87c535c3ce0eac2a54c246892e0e21a1","lockFileHash":"d04bf20520f2518af162e882d32081e4","entryPointPaths":[]} \ No newline at end of file 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