From c50281d3b0df42b37fdd9d6832aa654e0d00e323 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 28 Feb 2019 09:02:17 -0800 Subject: [PATCH] Simplesmtp:Fix missed top-level `this`reference --- types/simplesmtp/simplesmtp-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/simplesmtp/simplesmtp-tests.ts b/types/simplesmtp/simplesmtp-tests.ts index edb551d6e3..29337b8b82 100644 --- a/types/simplesmtp/simplesmtp-tests.ts +++ b/types/simplesmtp/simplesmtp-tests.ts @@ -26,5 +26,5 @@ server = simplesmtp.createSimpleServer({ ): void => { callback(null, true); }); -(this as any)._server.listen(this.port, "0.0.0.0", (error?: Error): void => { +(this as any)._server.listen((this as any).port, "0.0.0.0", (error?: Error): void => { });