rtc-diagnostics icon indicating copy to clipboard operation
rtc-diagnostics copied to clipboard

Error TS2717: Subsequent property declarations must have the same type error

Open andreikazmirovich opened this issue 3 years ago • 4 comments

I have an Angular application where I use @twilio/video-processors package and decided to add some @twilio/rtc-diagnostics features, but unfortunately getting the Subsequent property declarations must have the same type error during the build.

To Reproduce

  1. Install packages into the application:
"@twilio/video-processors": "~1.0.2",
"@twilio/rtc-diagnostics": "~1.0.0"
  1. Try to build it

Screenshots image

Environment:

  • OS: Windows 10
  • Browser: Chrome 107.0.5304.88
  • SDK Version: 1.0.0
  • Node.js version: 16.13.1

andreikazmirovich avatar Nov 07 '22 22:11 andreikazmirovich

Hey @andreikazmirovich unfortunately I'm not able to reproduce the issue.

Could you please confirm what is the Angular versiond you are using?

I was able to build and run an applicaton example using angular 15

mcarrerasm avatar Jan 27 '23 11:01 mcarrerasm

Closing due to inactivity, but @andreikazmirovich please do comment here if you are still having this issue and we will reopen. Thanks!

seancoleman2 avatar Feb 06 '23 15:02 seancoleman2

Sorry, missed your response

Angular version is 12.2.16

andreikazmirovich avatar Feb 06 '23 15:02 andreikazmirovich

@andreikazmirovich could yout please describe the steps to reproduce the issue? Have you tried in Angular 15?

mcarrerasm avatar Feb 07 '23 08:02 mcarrerasm