From 276781a78b58dbe02a3461b6ee1236190a7783d4 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 20 Jan 2020 20:31:57 -0500 Subject: [PATCH] fix: return module exports from ioredis #713 --- packages/opentelemetry-plugin-ioredis/src/ioredis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts index 428e174057f..7d08fd0fed8 100644 --- a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts +++ b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts @@ -44,7 +44,7 @@ export class IORedisPlugin extends BasePlugin { this._patchConnection() ); - return this._moduleExports.prototype; + return this._moduleExports; } protected unpatch(): void {