-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Perform weak type checks when performing comparisons. #34598
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
|
@typescript-bot test this |
|
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at 798fa05. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
|
Heya @DanielRosenwasser, I've started to run the extended test suite on this PR at 798fa05. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya @DanielRosenwasser, I've started to run the parallelized Definitely Typed test suite on this PR at 798fa05. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya @DanielRosenwasser, I've started to run the parallelized community code test suite on this PR at 798fa05. You can monitor the build here. It should now contribute to this PR's status checks. |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
|
@DanielRosenwasser Here they are:Comparison Report - master..34598
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
798fa05 to
b7e9cea
Compare
|
@typescript-bot test this |
|
Heya @DanielRosenwasser, I've started to run the parallelized Definitely Typed test suite on this PR at b7e9cea. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya @DanielRosenwasser, I've started to run the parallelized community code test suite on this PR at b7e9cea. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya @DanielRosenwasser, I've started to run the extended test suite on this PR at b7e9cea. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Found one break in DefinitelyTyped in chrome-apps which was legitimate.
But that means that |
|
Just throwing this out thereas a terrible suggestion. If a castable relation is being added, might it be reasonable to allow interfaces to be open when casting to. It avoids the pain of the following: interface Foo {
x: string;
y: string;
}
interface JSONObj {
[prop: string]: JSONableSub;
}
type JSONableSub = number | string | JSONObj;
declare const obj: JSONableSub;
const foo: Foo = obj as Foo; // error, Foo isn't assignable to JSONObj because it is an interface with no index signature. |
|
@typescript-bot pack this |
|
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at b7e9cea. You can monitor the build here. It should now contribute to this PR's status checks. |
|
This experiment is pretty old, so I'm going to close it to reduce the number of open PRs. |
See motivation at #34552 (comment)