-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Fixed a redundant used before defined error #55283
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
Fixed a redundant used before defined error #55283
Conversation
let bar = { | ||
three: {} as IThing<typeof bar>, | ||
} |
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.
this isn't actually super useful as the result of this is an implicit any but that's a separate error category and the reported "no used before defined" was still redundant
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.
can you set @strict: true
to show that the no implicit any errors are there?
@typescript-bot test this |
Heya @jakebailey, I've started to run the extended test suite on this PR at ef9b771. You can monitor the build here. |
Heya @jakebailey, I've started to run the abridged perf test suite on this PR at ef9b771. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the diff-based user code test suite on this PR at ef9b771. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the parallelized Definitely Typed test suite on this PR at ef9b771. You can monitor the build here. Update: The results are in! |
Heya @jakebailey, I've started to run the diff-based top-repos suite on this PR at ef9b771. You can monitor the build here. Update: The results are in! |
@jakebailey Here are the results of running the user test suite comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Something interesting changed - please have a look. Details
|
@jakebailey Here they are:Comparison Report - main..55283
System
Hosts
Scenarios
Developer Information: |
@jakebailey Here are the results of running the top-repos suite comparing Everything looks good! |
Hey @jakebailey, the results of running the DT tests are ready. |
…fore-define-error
fixes #8775