-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Describe the bug
TS build error
lib/connection.ts:107:44 - error TS2312: An interface can only extend an object type or intersection of object types with statically known members.
107 export interface ConnectionOptions extends RheaConnectionOptions {
To Reproduce
git clone [email protected]:amqp/rhea-promise.git
cd rhea-promise
npm run tsc
Expected behavior
The tsc build to succeed
Package-version: 2.1.0
node.js version: 16.1.0
OS name and version: macOS Big Sur, 11.6.2
Additional context
When pinning the dependency to "rhea": "2.0.6", the build succeeds without problems.
It seems like this issue was introduced with the latest changes amqp/rhea#375 which should have been a breaking change, not a patch-release.
Workaround
For anyone who's running into this issue, I recommend pinning rhea to 2.0.6 until this is resolved
mKaloer and madsjk816
Metadata
Metadata
Assignees
Labels
No labels