-
Notifications
You must be signed in to change notification settings - Fork 4
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: enable noImplicitOverride tsc setting #135
Conversation
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.
If a type declaration (d.ts) includes override
, can older version of TypeScript use those declarations? Asking since this change might require upgrading www's version of TS in order to use these changes.
Looks like Prettier needs to run over all the files again.
d48bbf8
to
f29c27f
Compare
Codecov Report
@@ Coverage Diff @@
## @wschurman/upgrade-ts-again #135 +/- ##
============================================================
Coverage 95.79% 95.80%
============================================================
Files 70 70
Lines 1809 1810 +1
Branches 223 223
============================================================
+ Hits 1733 1734 +1
Misses 75 75
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
The way I understand it this is the inverse strategy of some other languages As for whether the override modifier is included in the .d.ts for completeness even though it doesn't have an effect on consumers, I don't think it does, but again it shouldn't matter since it only affects the typechecking of that class against its parent. The |
f29c27f
to
d167141
Compare
Why
This enables noImplicitOverride as described in #134.
How
Enable the flag, fix tsc.
Test Plan
Wait for CI tests.