Foo-Foo-MQ / foo-foo-mq

Abstractions around RabbitMQ
MIT License
48 stars 24 forks source link

fix(types): add waitMax to ConnectionOptions #43

Closed elizabeth-a-hobbs closed 1 year ago

elizabeth-a-hobbs commented 1 year ago

After upgrading to a TS supported version of foo-foo-mq, we receive the following TSC error: Object literal may only specify known properties, and 'waitMax' does not exist in type 'ConnectionOptions'

The issue appears to be that the foo-foo-mq types are missing the ConnectionOptions.waitMax property although it should be there. This PR addresses this issue.

zlintz commented 1 year ago

@elizabeth-a-hobbs thanks for the update, this will be part of the next minor version