@types/redlock
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -9,4 +9,4 @@ // Type definitions for redlock 4.0 | ||
import * as Promise from 'bluebird'; | ||
import { EventEmitter } from 'events'; | ||
import * as Promise from "bluebird"; | ||
import { EventEmitter } from "events"; | ||
@@ -117,3 +117,3 @@ export = Redlock; | ||
class LockError extends Error { | ||
readonly name: 'LockError'; | ||
readonly name: "LockError"; | ||
attempts: number; | ||
@@ -261,3 +261,3 @@ constructor(message?: string); | ||
*/ | ||
addListener(event: 'clientError', listener: (err: any) => void): this; | ||
addListener(event: "clientError", listener: (err: any) => void): this; | ||
@@ -268,3 +268,3 @@ /** | ||
*/ | ||
on(event: 'clientError', listener: (err: any) => void): this; | ||
on(event: "clientError", listener: (err: any) => void): this; | ||
@@ -275,3 +275,3 @@ /** | ||
*/ | ||
once(event: 'clientError', listener: (err: any) => void): this; | ||
once(event: "clientError", listener: (err: any) => void): this; | ||
@@ -281,3 +281,3 @@ /** | ||
*/ | ||
removeListener(event: 'clientError', listener: (err: any) => void): this; | ||
removeListener(event: "clientError", listener: (err: any) => void): this; | ||
} |
{ | ||
"name": "@types/redlock", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "TypeScript definitions for redlock", | ||
@@ -37,4 +37,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redlock", | ||
}, | ||
"typesPublisherContentHash": "c62194a72d7d8653623b42eeda3023e5df17ae6e2644c58bd4c871c18e131cf6", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "bbcd9a4fb372e98b6342c5d16d52ef7848927a21a04eca15269d63e87545f213", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 26 Oct 2022 22:32:56 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/bluebird](https://npmjs.com/package/@types/bluebird) | ||
@@ -14,0 +14,0 @@ * Global values: none |