errorception / redis-lock

Implements a locking primitive using redis. An implementation of the algorithm described at https://redis.io/commands/setnx
211 stars 48 forks source link

Add TypeScript types file #36

Open saschanaz opened 1 year ago

saschanaz commented 1 year ago

Could be useful to have package.json's types field set for TypeScript users.