Skip to content

Commit

Permalink
docs: correct createClient property typing
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Feb 13, 2023
1 parent aa17891 commit 9dc9fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The optional `url` argument, allows to specify a redis connection string such as

```typescript
interface QueueOptions {
createClient?(type: 'client' | 'subscriber' | 'bclient', config?: Redis.RedisOptions): Redis.Redis | Redis.Cluster;
createClient?: (type: 'client' | 'subscriber' | 'bclient', config?: Redis.RedisOptions) => Redis.Redis | Redis.Cluster;
limiter?: RateLimiter;
redis?: RedisOpts;
prefix?: string = 'bull'; // prefix for all queue keys.
Expand Down

0 comments on commit 9dc9fd0

Please sign in to comment.