GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `this` can be nullish by RyanCavanaugh · Pull Request #59761 · microsoft/TypeScript

Conversation

@RyanCavanaugh

@RyanCavanaugh Ryan Cavanaugh (RyanCavanaugh) commented Aug 26, 2024

Copy link
Copy Markdown
Member

this keyword wasn't categorized as possibly nullish, but it is.

Fixes #59755

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Ryan Cavanaugh (RyanCavanaugh) added 2 commits August 26, 2024 12:10
@RyanCavanaugh
Add failing test
bf077f2
@RyanCavanaugh
this is possibly nullish. Fixes microsoft#59755
ea2c597
@typescript-bot TypeScript Bot (typescript-bot) assigned Ryan Cavanaugh (RyanCavanaugh) Aug 26, 2024
@typescript-bot TypeScript Bot (typescript-bot) added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Aug 26, 2024
jakebailey
Jake Bailey (jakebailey) approved these changes Aug 26, 2024
View reviewed changes
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) merged commit 64931f7 into microsoft:main Aug 26, 2024
@RyanCavanaugh

Ryan Cavanaugh (RyanCavanaugh) commented Aug 26, 2024

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) cherry-pick this to release-5.6

typescript-bot reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.6 ✅ Started ✅ Results
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TypeScript Bot (typescript-bot) pushed a commit that referenced this pull request Aug 26, 2024
@RyanCavanaugh @typescript-bot
this can be nullish (#59761)
b0e4ff6
@typescript-bot TypeScript Bot (typescript-bot) mentioned this pull request Aug 26, 2024
🤖 Pick PR #59761 (this can be nullish) into release-5.6 #59762
Merged
@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 26, 2024

Copy link
Copy Markdown
Contributor

Hey, Ryan Cavanaugh (@RyanCavanaugh)! I've created #59762 for you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Aug 27, 2024
TypeScript Bot @RyanCavanaugh
🤖 Pick PR #59761 (this can be nullish) into release-5.6 (#59762)
1a03e53
Co-authored-by: Ryan Cavanaugh <[email protected]>
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) deleted the fix59755 branch August 27, 2024 17:34
@sandersn Nathan Shively-Sanders (sandersn) removed this from PR Backlog Apr 22, 2025
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@jakebailey Jake Bailey (jakebailey) jakebailey approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@RyanCavanaugh Ryan Cavanaugh (RyanCavanaugh)

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5.6.1-rc Incorrectly assumes "this" is not nullish even when declared as such

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@RyanCavanaugh @typescript-bot @jakebailey
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.