@types/redlock
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -58,4 +58,4 @@ // Type definitions for redlock 3.0 | ||
acquire(resource: string, ttl: number, callback?: Redlock.Callback<Redlock.Lock>): Promise<Redlock.Lock>; | ||
lock(resource: string, ttl: number, callback?: Redlock.Callback<Redlock.Lock>): Promise<Redlock.Lock>; | ||
acquire(resource: string | string[], ttl: number, callback?: Redlock.Callback<Redlock.Lock>): Promise<Redlock.Lock>; | ||
lock(resource: string | string[], ttl: number, callback?: Redlock.Callback<Redlock.Lock>): Promise<Redlock.Lock>; | ||
@@ -62,0 +62,0 @@ disposer(resource: string, ttl: number, errorHandler?: Redlock.Callback<void>): Promise.Disposer<Redlock.Lock>; |
{ | ||
"name": "@types/redlock", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for redlock", | ||
@@ -29,4 +29,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "73144e077af72d8f433e744f42752ae7dd8bfeb645c025c6dd1e4d9dd788bf3f", | ||
"typesPublisherContentHash": "fbee25ba0e1c2ee617ade7476909af295ad857024f399f1f6d1a3c2e0ad6c7d4", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for redlock ( https://github.com/mike-marcacci/node-redlock ). | ||
This package contains type definitions for redlock (https://github.com/mike-marcacci/node-redlock). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Fri, 24 May 2019 21:01:00 GMT | ||
* Last updated: Mon, 01 Jul 2019 22:01:43 GMT | ||
* Dependencies: @types/bluebird | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Ilya Mochalov <https://github.com/chrootsu>, BendingBender <https://github.com/BendingBender>. | ||
These definitions were written by Ilya Mochalov <https://github.com/chrootsu>, and BendingBender <https://github.com/BendingBender>. |
5356