-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
chore: add noImplicitOverride
check
#12648
Conversation
This reverts commit 8bfc643.
@@ -12,6 +12,7 @@ | |||
/* Additional Checks */ | |||
"noUnusedLocals": true, | |||
"noUnusedParameters": true, | |||
"noImplicitOverride": true, |
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.
Type tests on TS 4.2 do not work with this option. I could move it to tsconfig.json
inside package directories. Not sure if that is worth it.
I like it! I'm also fine with setting 4.3 as minimum 🙂 |
should we merge in |
Should update https://github.com/facebook/jest/blob/420ba4535b4563909d8b3a51fd97a3619c5f10d1/.github/workflows/nodejs.yml#L58 as well (but wait for CI to complete and I can merge) |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
The code base is huge, it might be useful to add TypeScript’s
noImplicitOverride
check. I think there is a benefit in it. Or?EDIT: oh.. this is a feature of TS v4.3. In the other hand,
override
is only relevant at build time, so perhaps that‘s fine?Test plan
Green CI.