| 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:02b90a78-b4e5-d75b-c5c2-c0ceb07cb009 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6C6:37E73A:4AEA97:676128:6A639C62 |
| html-safe-nonce | 346c069900f176814a58f4f06591cb2fcbdc43a619772906d0d7a7460131652b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM2OjM3RTczQTo0QUVBOTc6Njc2MTI4OjZBNjM5QzYyIiwidmlzaXRvcl9pZCI6IjI0NjYxNTgwMzgzMjU4OTQyNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4576f662b3b2ad4d49280a84f76d07764a53f92613555589abca57d543bff15d |
| hovercard-subject-tag | pull_request:886647034 |
| 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/48380/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2d515aea3f8a550387af6c265d38f16e654e09340ac5fbd5e902c19dc2837139/microsoft/TypeScript/pull/48380 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2d515aea3f8a550387af6c265d38f16e654e09340ac5fbd5e902c19dc2837139/microsoft/TypeScript/pull/48380 |
| og:image:alt | This PR makes a small change to contextual typing of boolean literals: When a boolean literal in a function argument expression is contextually typed by a type variable, and type boolean was inferr... |
| 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 | 4ca676e17c4da4532dc68541e9fc874034ae840c26b5f34da7f1c42d9a600659 |
| 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 | 3a0a9f049e072eb8e5795dfddcefdba9e277501d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/48380#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F48380 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F48380 |
|
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/48380 |
| Reload | https://github.com/microsoft/TypeScript/pull/48380 |
| Reload | https://github.com/microsoft/TypeScript/pull/48380 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
|
Notifications
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Fork
13.6k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Star
110k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
5k+
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
21
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security and quality
0
| https://github.com/microsoft/TypeScript/security |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security and quality
| https://github.com/microsoft/TypeScript/security |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
| ahejlsberg | https://github.com/ahejlsberg |
| main | https://github.com/microsoft/TypeScript/tree/main |
| fix48363-2 | https://github.com/microsoft/TypeScript/tree/fix48363-2 |
| Conversation | https://github.com/microsoft/TypeScript/pull/48380 |
| Commits3 (3) | https://github.com/microsoft/TypeScript/pull/48380/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/48380/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/48380/files |
| No contextual typing from return types for boolean literals | https://github.com/microsoft/TypeScript/pull/48380#top |
| ahejlsberg | https://github.com/ahejlsberg |
| main | https://github.com/microsoft/TypeScript/tree/main |
| fix48363-2 | https://github.com/microsoft/TypeScript/tree/fix48363-2 |
|
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issue-1177461780 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| #48363 | https://github.com/microsoft/TypeScript/issues/48363 |
| here | https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457875877 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| ahejlsberg | https://github.com/ahejlsberg |
| March 22, 2022 17:49 | https://github.com/microsoft/TypeScript/pull/48380#commits-pushed-48d1bee |
|
| https://github.com/ahejlsberg |
| No contextual typing from return types for boolean literals | https://github.com/microsoft/TypeScript/pull/48380/commits/48d1beec0fc925621a1e617ed8827e82ac48e379 |
| 48d1bee | https://github.com/microsoft/TypeScript/pull/48380/commits/48d1beec0fc925621a1e617ed8827e82ac48e379 |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/48380/commits/8d62e26da27dbdc5f442c130b23a110b78c45387 |
| 8d62e26 | https://github.com/microsoft/TypeScript/pull/48380/commits/8d62e26da27dbdc5f442c130b23a110b78c45387 |
|
| https://github.com/ahejlsberg |
| Add regression tests | https://github.com/microsoft/TypeScript/pull/48380/commits/08526c0c13885542748456234b2a333dd279ad0c |
| 08526c0 | https://github.com/microsoft/TypeScript/pull/48380/commits/08526c0c13885542748456234b2a333dd279ad0c |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#event-6287707040 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#event-6287707087 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
|
Mar 23, 2022
| https://github.com/microsoft/TypeScript/pull/48380#ref-pullrequest-1176038336 |
|
Widen boolean literals when contextual type is full boolean type
#48368
| https://github.com/microsoft/TypeScript/pull/48368 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075798920 |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075798937 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| @ahejlsberg | https://github.com/ahejlsberg |
| 08526c0 | https://github.com/microsoft/TypeScript/commit/08526c0c13885542748456234b2a333dd279ad0c |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=122462 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075798938 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| @ahejlsberg | https://github.com/ahejlsberg |
| 08526c0 | https://github.com/microsoft/TypeScript/commit/08526c0c13885542748456234b2a333dd279ad0c |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=122461 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075810064 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075798939 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| @ahejlsberg | https://github.com/ahejlsberg |
| 08526c0 | https://github.com/microsoft/TypeScript/commit/08526c0c13885542748456234b2a333dd279ad0c |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=122460 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075798940 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| @ahejlsberg | https://github.com/ahejlsberg |
| 08526c0 | https://github.com/microsoft/TypeScript/commit/08526c0c13885542748456234b2a333dd279ad0c |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=122463 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075808740 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075808740 |
| @ahejlsberg | https://github.com/ahejlsberg |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1075810064 |
| @ahejlsberg | https://github.com/ahejlsberg |
| Download Benchmark | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/122461/artifacts?artifactName=benchmark&fileId=96E8B8239BF0DEDB671640B7514D823F4FA9CC290433F3832EB943BA767DF96401&fileName=linux.benchmark |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#issuecomment-1076420883 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| RyanCavanaugh | https://github.com/RyanCavanaugh |
| March 23, 2022 14:11 | https://github.com/microsoft/TypeScript/pull/48380#event-6292038193 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
For Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Mar 23, 2022 | https://github.com/microsoft/TypeScript/pull/48380#event-6292038846 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
| March 23, 2022 14:12 | https://github.com/microsoft/TypeScript/pull/48380#event-6292039464 |
| https://github.com/RyanCavanaugh |
| RyanCavanaugh | https://github.com/RyanCavanaugh |
|
Mar 30, 2022
| https://github.com/microsoft/TypeScript/pull/48380#pullrequestreview-926793378 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/48380/files/08526c0c13885542748456234b2a333dd279ad0c |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| 3f483d8 | https://github.com/microsoft/TypeScript/commit/3f483d87b45310dca3e5d5dcf33cb8a6e60d84db |
| Mar 30, 2022 | https://github.com/microsoft/TypeScript/pull/48380#event-6339091465 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| March 30, 2022 23:32 | https://github.com/microsoft/TypeScript/pull/48380#event-6339091604 |
| sidharthv96 | https://github.com/sidharthv96 |
|
Apr 1, 2022
| https://github.com/microsoft/TypeScript/pull/48380#ref-commit-e149cc3 |
|
| https://github.com/sidharthv96 |
| Merge remote-tracking branch 'upstream/main' into fix/46149 | https://github.com/sidharthv96/TypeScript/commit/e149cc332a8dfb2f9fd3fbb8f2e594df84ff187f |
| e149cc3 | https://github.com/sidharthv96/TypeScript/commit/e149cc332a8dfb2f9fd3fbb8f2e594df84ff187f |
| microsoft#48499 | https://github.com/microsoft/TypeScript/pull/48499 |
| microsoft#48481 | https://github.com/microsoft/TypeScript/pull/48481 |
| microsoft#48411 | https://github.com/microsoft/TypeScript/pull/48411 |
| microsoft#48380 | https://github.com/microsoft/TypeScript/pull/48380 |
| microsoft#47748 | https://github.com/microsoft/TypeScript/pull/47748 |
| microsoft#48490 | https://github.com/microsoft/TypeScript/pull/48490 |
| microsoft#48189 | https://github.com/microsoft/TypeScript/pull/48189 |
| microsoft#47212 | https://github.com/microsoft/TypeScript/pull/47212 |
| microsoft#48429 | https://github.com/microsoft/TypeScript/pull/48429 |
| microsoft#48168 | https://github.com/microsoft/TypeScript/pull/48168 |
| microsoft#48410 | https://github.com/microsoft/TypeScript/pull/48410 |
| microsoft#48449 | https://github.com/microsoft/TypeScript/pull/48449 |
| microsoft#48463 | https://github.com/microsoft/TypeScript/pull/48463 |
| microsoft#48464 | https://github.com/microsoft/TypeScript/pull/48464 |
| microsoft#48459 | https://github.com/microsoft/TypeScript/pull/48459 |
| microsoft#48337 | https://github.com/microsoft/TypeScript/pull/48337 |
| microsoft#48050 | https://github.com/microsoft/TypeScript/pull/48050 |
| microsoft#43937 | https://github.com/microsoft/TypeScript/pull/43937 |
| microsoft#48426 | https://github.com/microsoft/TypeScript/pull/48426 |
| https://github.com/DanielRosenwasser |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Apr 13, 2022
| https://github.com/microsoft/TypeScript/pull/48380#ref-issue-1203879534 |
|
Design Meeting Notes, 3/23/2022
#48684
| https://github.com/microsoft/TypeScript/issues/48684 |
| https://github.com/whzx5byb |
| whzx5byb | https://github.com/whzx5byb |
|
Apr 14, 2022
| https://github.com/microsoft/TypeScript/pull/48380#ref-issue-1204275486 |
|
Boolean properties are treated differently in conditional types (functions/methods)
#48696
| https://github.com/microsoft/TypeScript/issues/48696 |
|
Need to fix Typescript definitions since Typescript 4.6
knockout/knockout#2589
| https://github.com/knockout/knockout/issues/2589 |
|
Fix typing of the Observable
knockout/tko#168
| https://github.com/knockout/tko/issues/168 |
| https://github.com/jcalz |
| jcalz | https://github.com/jcalz |
|
Oct 9, 2022
| https://github.com/microsoft/TypeScript/pull/48380#ref-issue-1046454308 |
|
wrong type inferred in reduce statement
#46707
| https://github.com/microsoft/TypeScript/issues/46707 |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
|
Aug 26, 2024
| https://github.com/microsoft/TypeScript/pull/48380#ref-issue-2486194309 |
|
Inconsistent boolean literal types in objects
#59754
| https://github.com/microsoft/TypeScript/issues/59754 |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
|
Sep 8, 2024
| https://github.com/microsoft/TypeScript/pull/48380#ref-pullrequest-2512571077 |
|
No contextual typing from return types for boolean literals deeper in instantiables
#59898
| https://github.com/microsoft/TypeScript/pull/59898 |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
|
Jun 3, 2025
| https://github.com/microsoft/TypeScript/pull/48380#ref-issue-3107732474 |
|
someBool || true gets the literal type true when assigned to a let variable at initialization (unlike true getting the type boolean)
#61799
| https://github.com/microsoft/TypeScript/issues/61799 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 22, 2025 | https://github.com/microsoft/TypeScript/pull/48380#event-20417513758 |
| 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%2F48380 |
|
| https://github.com/RyanCavanaugh |
|
RyanCavanaugh
| https://github.com/RyanCavanaugh |
|
| https://github.com/microsoft/TypeScript/pull/48380/files/08526c0c13885542748456234b2a333dd279ad0c |
|
| https://github.com/DanielRosenwasser |
|
DanielRosenwasser
| https://github.com/DanielRosenwasser |
|
| https://github.com/ahejlsberg |
|
ahejlsberg
| https://github.com/ahejlsberg |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
|
Inconsistent boolean literal types
| https://github.com/microsoft/TypeScript/issues/48363 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/48380 |
|
| https://github.com/ahejlsberg |
|
| 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 |