-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update typescript version #81
Conversation
9b05fe3
to
95040c4
Compare
I don't remember there being a specific reason for including |
I did a quick search for it over JS-SDK/Web App and I have not found any usage of it. |
Yeah I say we can get rid of |
package.json
Outdated
@@ -72,7 +72,7 @@ | |||
"semantic-release": "^19.0.2", | |||
"ts-jest": "^27.0.5", | |||
"ts-loader": "^9.2.3", | |||
"typescript": "^4.4.3", | |||
"typescript": "5.5.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we keep the ^
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added it back.
# [2.9.0](v2.8.0...v2.9.0) (2024-07-10) ### Features * update typescript version ([#81](#81)) ([afa2589](afa2589))
This PR updates the typescript version. It's needed to be able to use directly
RTCPeerConnectionIceErrorEvent
which is not available in current typescript version.Typescript options
suppressImplicitAnyIndexErrors
is getting deprecated. It's removal causes not being able to compile becausesuppressLocalAudioPlayback
is not defined forMediaTrackConstraints
.suppressLocalAudioPlayback
is experimental, thus it's not in typescript yet.Are we safe to remove this flag from constraints or we should add an typescript option which will supress deprecation of
suppressImplicitAnyIndexErrors
.