Open Issues Need Help
View All on GitHub Sonarlint throwing a TypeError warning for AMQPConsumer / q.subscribe using example on README about 6 hours ago
AI Summary: Sonarlint flags a `TypeError` when using the `AMQPConsumer.subscribe` example from the README. The warning occurs because the example's callback is an `async` function, implicitly returning `Promise<void>`, while Sonarlint expects a `void` return type. The proposed solution is to update the `subscribe` method's callback type definition to accept both `void` and `Promise<void>` to accommodate asynchronous operations.
Complexity:
2/5
documentation good first issue help wanted
AMQP 0-9-1 TypeScript client both for Node.js and browsers (using WebSocket)
TypeScript
#amqp#javascript#typescript