| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7728f6b8-ec2f-f6cb-268d-5258b41e67b8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BE1A:18ADFF:4D579E:68B501:6B049CE4 |
| html-safe-nonce | 11ff89967233bc0fdb5aa2ed0dcb8093e482c83c18962e975a509d86ceb31831 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTFBOjE4QURGRjo0RDU3OUU6NjhCNTAxOjZCMDQ5Q0U0IiwidmlzaXRvcl9pZCI6IjYwMzQ1OTY4MTgzOTMwMTM0NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | abe4e9301117d5228ae954159365354ce91acf48c2102bcb0098a3880ecb76ed |
| hovercard-subject-tag | pull_request:216108399 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/27157/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/84639d18c81ecb23a74b4f21c1e7c3494efc760a50eb93c187ef4fded66bbef7/microsoft/TypeScript/pull/27157 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84639d18c81ecb23a74b4f21c1e7c3494efc760a50eb93c187ef4fded66bbef7/microsoft/TypeScript/pull/27157 |
| og:image:alt | We currently consider {} and unconstrained type parameters to never be falsy in --strictNullChecks mode. This is wrong as {} or an unconstrained type parameter might represent a string, number, or ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahejlsberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/27157#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F27157 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F27157 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/27157 |
| Reload | https://github.com/microsoft/TypeScript/pull/27157 |
| Reload | https://github.com/microsoft/TypeScript/pull/27157 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests318 (318) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| fixEmptyObjectFalsiness | https://github.com/microsoft/TypeScript/tree/fixEmptyObjectFalsiness |
| Conversation | https://github.com/microsoft/TypeScript/pull/27157 |
| Commits6 (6) | https://github.com/microsoft/TypeScript/pull/27157/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/27157/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/27157/files |
| Fix empty object falsiness | https://github.com/microsoft/TypeScript/pull/27157#top |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| fixEmptyObjectFalsiness | https://github.com/microsoft/TypeScript/tree/fixEmptyObjectFalsiness |
|
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issue-361035466 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| #18196 | https://github.com/microsoft/TypeScript/issues/18196 |
| #27181 | https://github.com/microsoft/TypeScript/issues/27181 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| September 17, 2018 09:06 | https://github.com/microsoft/TypeScript/pull/27157#commits-pushed-acb8b1f |
|
| https://github.com/ahejlsberg |
| Correct falsiness for {} empty object type | https://github.com/microsoft/TypeScript/pull/27157/commits/acb8b1f65fbb59510c007586307ee3c9206c0b65 |
| acb8b1f | https://github.com/microsoft/TypeScript/pull/27157/commits/acb8b1f65fbb59510c007586307ee3c9206c0b65 |
|
| https://github.com/ahejlsberg |
| Fix resulting issue in compiler | https://github.com/microsoft/TypeScript/pull/27157/commits/46de5067b038536545dd9d7f956971e9160d15e8 |
| 46de506 | https://github.com/microsoft/TypeScript/pull/27157/commits/46de5067b038536545dd9d7f956971e9160d15e8 |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/27157/commits/92c17cebcb86a1b2ca0086af02aa7e93d2731c0c |
| 92c17ce | https://github.com/microsoft/TypeScript/pull/27157/commits/92c17cebcb86a1b2ca0086af02aa7e93d2731c0c |
|
| https://github.com/ahejlsberg |
| Add tests | https://github.com/microsoft/TypeScript/pull/27157/commits/eb06af19013e0265895d446b0b9f177dcf3541fa |
| eb06af1 | https://github.com/microsoft/TypeScript/pull/27157/commits/eb06af19013e0265895d446b0b9f177dcf3541fa |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/27157/commits/17080eb58f27a75cc2bb8e21308b7990d3751849 |
| 17080eb | https://github.com/microsoft/TypeScript/pull/27157/commits/17080eb58f27a75cc2bb8e21308b7990d3751849 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| September 17, 2018 20:42 | https://github.com/microsoft/TypeScript/pull/27157#event-1850801147 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Sep 17, 2018
| https://github.com/microsoft/TypeScript/pull/27157#ref-issue-360334617 |
|
Generic parameter is considered object
#27093
| https://github.com/microsoft/TypeScript/issues/27093 |
| https://github.com/weswigham |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
|
Sep 17, 2018
| https://github.com/microsoft/TypeScript/pull/27157#pullrequestreview-156111347 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/27157/files/17080eb58f27a75cc2bb8e21308b7990d3751849 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/27157/files/17080eb58f27a75cc2bb8e21308b7990d3751849#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#discussion_r218221434 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#discussion_r218222762 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#discussion_r218224389 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/DanielRosenwasser |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issuecomment-422166537 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/weswigham |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issuecomment-422168096 |
| Daniel Rosenwasser (@DanielRosenwasser) | https://github.com/DanielRosenwasser |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issuecomment-422168113 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| Wesley Wigham (@weswigham) | https://github.com/weswigham |
| 17080eb | https://github.com/microsoft/TypeScript/commit/17080eb58f27a75cc2bb8e21308b7990d3751849 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=12154 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issuecomment-422173126 |
| Daniel Rosenwasser (@DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#issuecomment-422189398 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| TypeScript 3.1 | https://github.com/microsoft/TypeScript/milestone/74 |
| Sep 17, 2018 | https://github.com/microsoft/TypeScript/pull/27157#event-1851021616 |
|
| https://github.com/ahejlsberg |
| Merge branch 'master' into fixEmptyObjectFalsiness | https://github.com/microsoft/TypeScript/pull/27157/commits/c0eb742cf3ec753c142b59ec28fe8d3110314494 |
| c0eb742 | https://github.com/microsoft/TypeScript/pull/27157/commits/c0eb742cf3ec753c142b59ec28fe8d3110314494 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Sep 18, 2018
| https://github.com/microsoft/TypeScript/pull/27157#ref-issue-361237816 |
|
Switch on typeof for keyof type loses information
#27181
| https://github.com/microsoft/TypeScript/issues/27181 |
| Jack Williams (jack-williams) | https://github.com/jack-williams |
|
Sep 18, 2018
| https://github.com/microsoft/TypeScript/pull/27157#ref-commit-b6a836a |
|
| https://github.com/jack-williams |
| Remove fix for keyof types, fixed by | https://github.com/jack-williams/TypeScript/commit/b6a836adeed6a54c040f41507fbbfd4b8c7843e6 |
| microsoft#27157 | https://github.com/microsoft/TypeScript/pull/27157 |
| b6a836a | https://github.com/jack-williams/TypeScript/commit/b6a836adeed6a54c040f41507fbbfd4b8c7843e6 |
| https://github.com/jack-williams |
| Jack Williams (jack-williams) | https://github.com/jack-williams |
|
Sep 18, 2018
| https://github.com/microsoft/TypeScript/pull/27157#ref-pullrequest-361238099 |
|
Bring typeof switch behaviour inline with if
#27182
| https://github.com/microsoft/TypeScript/pull/27182 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| 6adb9d1 | https://github.com/microsoft/TypeScript/commit/6adb9d194f6dc17ec2ee0f5548bc27eb8022af70 |
| Sep 18, 2018 | https://github.com/microsoft/TypeScript/pull/27157#event-1852883855 |
| https://github.com/ljharb |
| Jordan Harband (ljharb) | https://github.com/ljharb |
|
Sep 18, 2018
| https://github.com/microsoft/TypeScript/pull/27157#ref-issue-360463691 |
|
Type narrowed to never, incorrectly
#27103
| https://github.com/microsoft/TypeScript/issues/27103 |
| https://github.com/uhyo |
| uhyo (uhyo) | https://github.com/uhyo |
|
May 19, 2019
| https://github.com/microsoft/TypeScript/pull/27157#ref-issue-445789512 |
|
Unsoundness in coercion from object to boolean
#31464
| https://github.com/microsoft/TypeScript/issues/31464 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| May 24, 2019 13:57 | https://github.com/microsoft/TypeScript/pull/27157#event-2365634668 |
| https://github.com/chancancode |
| Godfrey Chan (chancancode) | https://github.com/chancancode |
|
Jun 17, 2020
| https://github.com/microsoft/TypeScript/pull/27157#ref-issue-640171909 |
|
Subtype narrowing bug with falsey types (''/0/[])
#39105
| https://github.com/microsoft/TypeScript/issues/39105 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/27157#event-20415799704 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/27157#event-20415800634 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F27157 |
|
| https://github.com/weswigham |
|
Wesley Wigham (weswigham)
| https://github.com/weswigham |
|
| https://github.com/microsoft/TypeScript/pull/27157/files/17080eb58f27a75cc2bb8e21308b7990d3751849 |
|
| https://github.com/RyanCavanaugh |
|
Ryan Cavanaugh (RyanCavanaugh)
| https://github.com/RyanCavanaugh |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
|
| https://github.com/ahejlsberg |
|
Anders Hejlsberg (ahejlsberg)
| https://github.com/ahejlsberg |
|
TypeScript 3.1
| https://github.com/microsoft/TypeScript/milestone/74 |
|
Switch on typeof for keyof type loses information
| https://github.com/microsoft/TypeScript/issues/27181 |
|
Type narrowing bug in empty interfaces
| https://github.com/microsoft/TypeScript/issues/18196 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/27157 |
|
| https://github.com/ahejlsberg |
|
| https://github.com/DanielRosenwasser |
|
| https://github.com/weswigham |
|
| https://github.com/typescript-bot |
|
| https://github.com/RyanCavanaugh |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |