-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat: add support for noImplicitThis #13404
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
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.
LGTM. What strict checks are missing? At some we could also just use strict
which enables all individual strict flags.
@@ -509,7 +509,7 @@ describe('InteractivityChecker', () => { | |||
} | |||
} | |||
|
|||
function runIf(condition: boolean, runFn: Function): () => void { | |||
function runIf(this: any, condition: boolean, runFn: Function): () => void { |
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.
For a second, I thought that this is an actual parameter.
This should be the last one missing from the |
@crisbeto Yeah that makes sense. I assumed they would only add these in major releases (where we can expect such breaking changes) |
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.
LGTM
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
aa78b13
to
8fd0b55
Compare
8fd0b55
to
b709be4
Compare
@crisbeto Looks like the e2e tests are failing on this now? I was able to reproduce the failure locally, though at a glance am unsure of the cause. |
5e00702
to
b3e6a2e
Compare
Fixed @josephperrott. |
Adds support for the `noImplicitThis` compiler option and fixes the compilation errors.
b3e6a2e
to
5154d22
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds support for the
noImplicitThis
compiler option and fixes the compilation errors.