question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update documentation to explain that a Type is needed for typescript to get "options" of an exchange working.

See original GitHub issue

Hi,

Great library!

Maybe we could update the documentation, I had to install the following to get code completion working on options of an exchange in the Options

yarn add @types/amqplib -D  

Cheers

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
underfiskcommented, Jan 20, 2022

#367 contains an improvement on how the types are being imported and its already merged to master so once @WonderPanda is available to deploy a new version you’ll be able to see the types being working as expected

1reaction
iangregsondevcommented, Jan 19, 2022

No worries, as I say if I install them in my own project then it works…

Ohh, I noticed one other thing as well, its not urgent - well none of these are, everything works great…

But there is a definition of “channels” that you can pass, there are no types fro this i.e.

image

Thanks again for a great library, its saved me a lot of effort wrapping rabbitmq.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found