-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
make globalThis
have an empty declarations
#34561
make globalThis
have an empty declarations
#34561
Conversation
Fixes microsoft#33860 by making it an error. This is an improvement, but sounds like it would be better to make it work later.
@typescript-bot perf test |
@typescript-bot perf test this |
1 similar comment
@typescript-bot perf test this |
Heya @RyanCavanaugh, I've started to run the perf test suite on this PR at d259ff6. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
@weswigham what do we need to do for Eli's comments to get picked up? |
@RyanCavanaugh Here they are:Comparison Report - master..34561
System
Hosts
Scenarios
|
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 seems reasonable as a fix, but I'd like to see whether we can stop special-casing globalThis in some places now that it has a declaration list. A good time would be when we have time to make the test program succeed instead of erroring.
The performance results seem reasonable to me, but I'd like @rbuckton to confirm.
@typescript-bot perf test this |
@typescript-bot perf test |
Heya @rbuckton, I've started to run the perf test suite on this PR at d259ff6. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
@rbuckton Here they are:Comparison Report - master..34561
System
Hosts
Scenarios
|
Fixes #33860 by making it an error. This is an improvement, but sounds
like it would be better to make it work later.