Skip to content
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

Support TypeScript 4.7 #3180

Merged
merged 7 commits into from Jun 21, 2022
Merged

Support TypeScript 4.7 #3180

merged 7 commits into from Jun 21, 2022

Conversation

yassin-kammoun-sonarsource
Copy link
Contributor

Fixes #3146

@sonarsource-next
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@yassin-kammoun-sonarsource
Copy link
Contributor Author

The analysis of mootools-core/Grunt/plugins/karma/syn/lib/syn.js fails because of a bug in the TypeScript compiler. Something goes wrong while TypeScript tries to infer the type of __indexOf.call(typeables, fn) in there. The analysis thus fails for this file, and all expected issues are no longer raised.

@@ -40,7 +40,7 @@
"mkdirp": "1.0.4",
"prettier": "2.4.1",
"ts-jest": "28.0.5",
"ts-node": "10.4.0"
"ts-node": "10.8.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You did this just for the sake of updating everything, right? These is no dependency or whatever

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Now I don't remember why I even upgraded that one.

@@ -27,7 +27,7 @@ Discover and update the CSS [properties](/analysis/analysis-parameters/) in: **<

## Supported Frameworks, Versions and Languages
* ECMAScript 3, 5, 2015, 2016, 2017, 2018, 2019, and 2020
* TypeScript 4.6
* TypeScript 4.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no new line 👍 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support TypeScript 4.7
2 participants