-
Notifications
You must be signed in to change notification settings - Fork 17
Upgrade to typescript 4 compatible code #552
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## 7-dev #552 +/- ##
=======================================
Coverage 88.39% 88.39%
=======================================
Files 32 32
Lines 1448 1448
Branches 252 252
=======================================
Hits 1280 1280
Misses 119 119
Partials 49 49
Continue to review full report at Codecov.
|
Aschen
approved these changes
Oct 27, 2020
rolljee
approved these changes
Oct 28, 2020
Yoann-Abbes
approved these changes
Oct 28, 2020
Merged
scottinet
added a commit
that referenced
this pull request
Oct 28, 2020
# [7.4.1](https://github.com/kuzzleio/sdk-javascript/releases/tag/7.4.1) (2020-10-28) #### Enhancements - [ [#552](#552) ] Upgrade to typescript 4 compatible code ([scottinet](https://github.com/scottinet)) - [ [#551](#551) ] Export interfaces ([Aschen](https://github.com/Aschen)) #### Others - [ [#548](#548) ] [doc] Add a disclaimer about Expo in getting started React Native ([Njuelle](https://github.com/Njuelle)) - [ [#547](#547) ] Stick `realtime:unsubscribe` behavior to documentation ([Yoann-Abbes](https://github.com/Yoann-Abbes)) ---
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix #549
Update dependencies, and make this SDK compatible with Typescript 4. Errors were all due to WebSocket properties shadowing parent classes getters.
Other changes
no-shadow
eslint rule, and replace it with the dedicated TS one (the vanilla JS "no-shadow" rule doesn't work w/ ts code)