diff --git a/src/AbstractFactory/index.ts b/src/AbstractFactory/index.ts
index d91c26b..01cde7b 100644
--- a/src/AbstractFactory/index.ts
+++ b/src/AbstractFactory/index.ts
@@ -9,7 +9,7 @@
///
-import * as Emitter from 'emittery'
+import Emitter from 'emittery'
import { Redis, Cluster } from 'ioredis'
import { Exception, parseIocReference } from '@poppinss/utils'
import { PubSubChannelHandler, PubSubPatternHandler } from '@ioc:Adonis/Addons/Redis'
diff --git a/src/Redis/index.ts b/src/Redis/index.ts
index d7047a2..83625e4 100644
--- a/src/Redis/index.ts
+++ b/src/Redis/index.ts
@@ -11,9 +11,9 @@
import { Exception } from '@poppinss/utils'
+import { ioMethods } from '../ioMethods'
import { RedisFactory } from '../RedisFactory'
import { RedisClusterFactory } from '../RedisClusterFactory'
-import { ioMethods } from '../ioMethods'
/**
* Redis class exposes the API to interact with a redis server. It automatically
diff --git a/src/RedisClusterFactory/index.ts b/src/RedisClusterFactory/index.ts
index 254213f..95dec3e 100644
--- a/src/RedisClusterFactory/index.ts
+++ b/src/RedisClusterFactory/index.ts
@@ -9,7 +9,7 @@
///
-import * as Redis from 'ioredis'
+import Redis from 'ioredis'
import { ClusterConfigContract } from '@ioc:Adonis/Addons/Redis'
import { ioMethods } from '../ioMethods'
diff --git a/src/RedisFactory/index.ts b/src/RedisFactory/index.ts
index 1aea5c2..740e1cb 100644
--- a/src/RedisFactory/index.ts
+++ b/src/RedisFactory/index.ts
@@ -9,7 +9,7 @@
///
-import * as Redis from 'ioredis'
+import Redis from 'ioredis'
import { ConnectionConfigContract } from '@ioc:Adonis/Addons/Redis'
import { ioMethods } from '../ioMethods'
diff --git a/test/redis-cluster-factory.spec.ts b/test/redis-cluster-factory.spec.ts
index f89b424..bf4c5f1 100644
--- a/test/redis-cluster-factory.spec.ts
+++ b/test/redis-cluster-factory.spec.ts
@@ -9,7 +9,7 @@
///
-import * as test from 'japa'
+import test from 'japa'
import { RedisClusterFactory } from '../src/RedisClusterFactory'
import { RedisClusterFactoryContract } from '@ioc:Adonis/Addons/Redis'
diff --git a/test/redis-factory.spec.ts b/test/redis-factory.spec.ts
index 82dfc3d..3220a63 100644
--- a/test/redis-factory.spec.ts
+++ b/test/redis-factory.spec.ts
@@ -9,7 +9,7 @@
///
-import * as test from 'japa'
+import test from 'japa'
import { Ioc } from '@adonisjs/fold'
import { RedisFactory } from '../src/RedisFactory'
import { RedisFactoryContract } from '@ioc:Adonis/Addons/Redis'
diff --git a/test/redis.spec.ts b/test/redis.spec.ts
index 0da969e..9c17633 100644
--- a/test/redis.spec.ts
+++ b/test/redis.spec.ts
@@ -9,7 +9,7 @@
///
-import * as test from 'japa'
+import test from 'japa'
import { RedisContract } from '@ioc:Adonis/Addons/Redis'
import { Redis } from '../src/Redis'
diff --git a/tsconfig.json b/tsconfig.json
index ff4e273..59f36c7 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,3 +1,6 @@
{
- "extends": "./node_modules/@adonisjs/mrm-preset/_tsconfig"
+ "extends": "./node_modules/@adonisjs/mrm-preset/_tsconfig",
+ "compilerOptions": {
+ "esModuleInterop": true
+ }
}