Sonarlint throwing a TypeError warning for AMQPConsumer / q.subscribe using example on README #92
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Extra attention is needed
AMQPConsumer / await q.subscribe callback is set to return a type <void>, however, the example on the README is a Promise<void>
This part:
Warning:
Dropping the async in front of message gets rid of the squiggles:
Should probably be <void> | Promise<void>
The text was updated successfully, but these errors were encountered: