diff --git a/types/bull/index.d.ts b/types/bull/index.d.ts index 7959629044..926952f6c2 100644 --- a/types/bull/index.d.ts +++ b/types/bull/index.d.ts @@ -5,7 +5,7 @@ // Marshall Cottrell // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as Redis from "redis"; +import * as Redis from "ioredis"; /** * This is the Queue constructor. @@ -26,7 +26,7 @@ declare namespace Bull { /** * Options passed directly to the `ioredis` constructor */ - redis?: Redis.ClientOpts; + redis?: Redis.RedisOptions; /** * Prefix to use for all redis keys