amqp / rhea-promise

A promisified layer over rhea AMQP client
Apache License 2.0
30 stars 19 forks source link

Improve types: Do not cast to "any" #85

Open HarshaNalluru opened 3 years ago

HarshaNalluru commented 3 years ago

https://github.com/amqp/rhea-promise/blob/master/lib/session.ts#L68

Fixing this would require requesting rhea to provide more types to allow accessing fields such as "outgoing", "incoming" and "local" on the Session interface/type.

HarshaNalluru commented 3 years ago

Reference https://github.com/Azure/azure-sdk-for-js/pull/14060#discussion_r585969797