Skip to content

Commit

Permalink
fix: export Lock type
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS committed Apr 15, 2021
1 parent 94683c7 commit c288bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redislock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { Lock, Config } from './lock'
export * from './errors'

export { Config }
export { Config, Lock }

/**
* Returns a new Lock instance, configured for use with the supplied redis
Expand Down

0 comments on commit c288bc5

Please sign in to comment.