Skip to content

Commit

Permalink
fix(types): fixed typings in redis
Browse files Browse the repository at this point in the history
Signed-off-by: Jytesh <[email protected]>
  • Loading branch information
Jytesh committed Mar 31, 2022
1 parent 92d1a83 commit 9fc462f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/redis/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// TypeScript Version: 2.3

import { Store } from '@keyvhq/core'
import ioredis from 'ioredis'
import { RedisOptions } from 'ioredis'
import { EventEmitter } from 'events'

declare class KeyvRedis extends EventEmitter implements Store<string | undefined> {
Expand All @@ -25,7 +25,7 @@ declare class KeyvRedis extends EventEmitter implements Store<string | undefined
}

declare namespace KeyvRedis {
interface Options extends ioredis.RedisOptions {
interface Options extends RedisOptions {
uri?: string | undefined
emitErrors?: boolean | true
}
Expand Down

0 comments on commit 9fc462f

Please sign in to comment.