@types/amqplib
Advanced tools
Comparing version 0.5.13 to 0.5.14
@@ -35,3 +35,3 @@ import events = require('events'); | ||
consume(queue: string, onMessage: (msg: Message | null) => any, options?: Options.Consume, callback?: (err: any, ok: Replies.Consume) => void): void; | ||
consume(queue: string, onMessage: (msg: Message | null) => void, options?: Options.Consume, callback?: (err: any, ok: Replies.Consume) => void): void; | ||
@@ -38,0 +38,0 @@ cancel(consumerTag: string, callback?: (err: any, ok: Replies.Empty) => void): void; |
@@ -44,3 +44,3 @@ // Type definitions for amqplib 0.5 | ||
consume(queue: string, onMessage: (msg: ConsumeMessage | null) => any, options?: Options.Consume): Promise<Replies.Consume>; | ||
consume(queue: string, onMessage: (msg: ConsumeMessage | null) => void, options?: Options.Consume): Promise<Replies.Consume>; | ||
@@ -47,0 +47,0 @@ cancel(consumerTag: string): Promise<Replies.Empty>; |
{ | ||
"name": "@types/amqplib", | ||
"version": "0.5.13", | ||
"version": "0.5.14", | ||
"description": "TypeScript definitions for amqplib", | ||
@@ -29,3 +29,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -41,4 +41,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "a990d145136fe624d41d242d7f0501180cba8eb89fd057909dea86bf5dfe5f4d", | ||
"typesPublisherContentHash": "c1be3b5682e05c711099f00a32402e3ab3898e95f9827a7fb6953588f1be05da", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/amqplib | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/amqplib. | ||
Additional Details | ||
* Last updated: Thu, 27 Jun 2019 16:28:13 GMT | ||
* Dependencies: @types/bluebird, @types/node | ||
### Additional Details | ||
* Last updated: Thu, 08 Oct 2020 20:19:48 GMT | ||
* Dependencies: [@types/bluebird](https://npmjs.com/package/@types/bluebird), [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Michael Nahkies <https://github.com/mnahkies>, Ab Reitsma <https://github.com/abreits>, Nicolás Fantone <https://github.com/nfantone>, and Nick Zelei <https://github.com/zelein>. | ||
These definitions were written by [Michael Nahkies](https://github.com/mnahkies), [Ab Reitsma](https://github.com/abreits), [Nicolás Fantone](https://github.com/nfantone), and [Nick Zelei](https://github.com/zelein). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15814