Fix global when typescript.js loaded as script#58895
Merged
jakebailey merged 3 commits intomicrosoft:mainfrom Jun 17, 2024
Merged
Fix global when typescript.js loaded as script#58895jakebailey merged 3 commits intomicrosoft:mainfrom
jakebailey merged 3 commits intomicrosoft:mainfrom
Conversation
Member
Author
|
@typescript-bot cherry-pick this to release-5.5 |
Collaborator
Member
Author
|
@typescript-bot perf test this Checking startup perf, should not actually change much. |
Collaborator
Collaborator
|
Hey, @jakebailey! I've created #58896 for you. |
Collaborator
|
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
startupComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
andrewbranch
approved these changes
Jun 17, 2024
Member
Author
|
@typescript-bot cherry-pick this to release-5.5 |
Collaborator
typescript-bot
pushed a commit
that referenced
this pull request
Jun 17, 2024
Collaborator
|
Hey, @jakebailey! I've updated #58896 for you. |
Member
Author
|
@typescript-bot pack this dunno if this works on merged PRs... |
Collaborator
|
Starting jobs; this comment will be updated as builds start and complete.
|
Member
Author
|
nope |
jakebailey
added a commit
that referenced
this pull request
Jun 18, 2024
…e-5.5 (#58896) Co-authored-by: Jake Bailey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #58893
Not sure why I thought this worked, but I probably just assumed that the tests passed therefore it was okay. The tests didn't actually test anything. Oops.
getters/setters have been supported ~forever, so this method is fine. We have tests which verify everything now.