René's URL Explorer Experiment


Title: Narrow generic conditional and indexed access return types when checking return statements, no conditional expression support by gabritto · Pull Request #60268 · microsoft/TypeScript · GitHub

Open Graph Title: Narrow generic conditional and indexed access return types when checking return statements, no conditional expression support by gabritto · Pull Request #60268 · microsoft/TypeScript

X Title: Narrow generic conditional and indexed access return types when checking return statements, no conditional expression support by gabritto · Pull Request #60268 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Narrow generic conditional and indexed access return types when checking return statements, no conditional expression support by gabritto · Pull Request #60268 · microsoft/TypeScript

Open Graph Description: A version of #56941 without any of the extra stuff for checking conditional expressions.

X Description: A version of #56941 without any of the extra stuff for checking conditional expressions.

Opengraph URL: https://github.com/microsoft/TypeScript/pull/60268

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:066d0b71-5d03-8438-ba37-8c46f3fdecca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6BE:37F8F:195EA:236BA:6A601CB3
html-safe-nonce6a3445f7be3a993db6b2cdc2b8d30ab0eaed9aae74f6496749bbc3c274844329
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkJFOjM3RjhGOjE5NUVBOjIzNkJBOjZBNjAxQ0IzIiwidmlzaXRvcl9pZCI6IjE2NjYwMTAzMTY4OTAxODQ4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfdd4bc4831a55a6378e413a28471ec6b631e911ad6599408041851d602c69ffc
hovercard-subject-tagpull_request:2131319145
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/60268/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e019e7fc7ce6c9800ea4725d6863791dad4825fa5fe90271ca3a9073e1b6d202/microsoft/TypeScript/pull/60268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e019e7fc7ce6c9800ea4725d6863791dad4825fa5fe90271ca3a9073e1b6d202/microsoft/TypeScript/pull/60268
og:image:altA version of #56941 without any of the extra stuff for checking conditional expressions.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegabritto
hostnamegithub.com
expected-hostnamegithub.com
None7e86a727ba4abf81d0638c5ead57286c17d3b2706f57813445c4316d8e848673
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef13d8ac548fb76838b3d703c7fe2100887547d0e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/60268#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F60268
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F60268
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
Reloadhttps://github.com/microsoft/TypeScript/pull/60268
Reloadhttps://github.com/microsoft/TypeScript/pull/60268
Reloadhttps://github.com/microsoft/TypeScript/pull/60268
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
microsoft https://github.com/microsoft
TypeScripthttps://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 30 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
gabrittohttps://github.com/gabritto
mainhttps://github.com/microsoft/TypeScript/tree/main
gabritto/d2-nocondhttps://github.com/microsoft/TypeScript/tree/gabritto/d2-nocond
Conversationhttps://github.com/microsoft/TypeScript/pull/60268
Commits93 (93)https://github.com/microsoft/TypeScript/pull/60268/commits
Checkshttps://github.com/microsoft/TypeScript/pull/60268/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/60268/files
Narrow generic conditional and indexed access return types when checking return statements, no conditional expression supporthttps://github.com/microsoft/TypeScript/pull/60268#top
gabrittohttps://github.com/gabritto
mainhttps://github.com/microsoft/TypeScript/tree/main
gabritto/d2-nocondhttps://github.com/microsoft/TypeScript/tree/gabritto/d2-nocond
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#issue-2596117931
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
#56941https://github.com/microsoft/TypeScript/pull/56941
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
gabrittohttps://github.com/gabritto
May 15, 2023 18:15https://github.com/microsoft/TypeScript/pull/60268#commits-pushed-0d393e3
https://github.com/gabritto
WIP: custom instantiationhttps://github.com/microsoft/TypeScript/pull/60268/commits/0d393e324acb8353d386b4723756e914feefbd27
0d393e3https://github.com/microsoft/TypeScript/pull/60268/commits/0d393e324acb8353d386b4723756e914feefbd27
https://github.com/gabritto
fix more thingshttps://github.com/microsoft/TypeScript/pull/60268/commits/a1d9f89f5054034899d8ffd467898407223a3201
a1d9f89https://github.com/microsoft/TypeScript/pull/60268/commits/a1d9f89f5054034899d8ffd467898407223a3201
https://github.com/gabritto
latest fixeshttps://github.com/microsoft/TypeScript/pull/60268/commits/b9495a988e79515a8f411b210ef25f6532d1d4ee
b9495a9https://github.com/microsoft/TypeScript/pull/60268/commits/b9495a988e79515a8f411b210ef25f6532d1d4ee
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/60268/commits/81cdee5ee98570d1944295359f50eb1c4ed27334
81cdee5https://github.com/microsoft/TypeScript/pull/60268/commits/81cdee5ee98570d1944295359f50eb1c4ed27334
https://github.com/gabritto
fix bare type parameter instantiationhttps://github.com/microsoft/TypeScript/pull/60268/commits/af57b3469c8e064595209ebb4cef120bbf8fda9c
af57b34https://github.com/microsoft/TypeScript/pull/60268/commits/af57b3469c8e064595209ebb4cef120bbf8fda9c
https://github.com/gabritto
change binder. BROKENhttps://github.com/microsoft/TypeScript/pull/60268/commits/01152a0df832520205c9b3498ed315ee89a9efef
01152a0https://github.com/microsoft/TypeScript/pull/60268/commits/01152a0df832520205c9b3498ed315ee89a9efef
https://github.com/gabritto
fix binder changehttps://github.com/microsoft/TypeScript/pull/60268/commits/eac319203a0da13ff58b0d7e0858e7f9ec4129f0
eac3192https://github.com/microsoft/TypeScript/pull/60268/commits/eac319203a0da13ff58b0d7e0858e7f9ec4129f0
https://github.com/gabritto
clean up + testshttps://github.com/microsoft/TypeScript/pull/60268/commits/199ecd028f0a0427d3bf1795b382db8661ef39b8
199ecd0https://github.com/microsoft/TypeScript/pull/60268/commits/199ecd028f0a0427d3bf1795b382db8661ef39b8
https://github.com/gabritto
WIPhttps://github.com/microsoft/TypeScript/pull/60268/commits/d0e85d0c5afc393b93cb50761492565985fa820b
d0e85d0https://github.com/microsoft/TypeScript/pull/60268/commits/d0e85d0c5afc393b93cb50761492565985fa820b
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/60268/commits/23e3d33042674a5857dc24916656dce42c89e786
23e3d33https://github.com/microsoft/TypeScript/pull/60268/commits/23e3d33042674a5857dc24916656dce42c89e786
https://github.com/gabritto
defer conditional unless narrowinghttps://github.com/microsoft/TypeScript/pull/60268/commits/d9ac1027a371842567bc1f3e8bcfa594ea763915
d9ac102https://github.com/microsoft/TypeScript/pull/60268/commits/d9ac1027a371842567bc1f3e8bcfa594ea763915
https://github.com/gabritto
don't skip jsdoc type assertionshttps://github.com/microsoft/TypeScript/pull/60268/commits/b4910f45f8d9b1a44ae714e5ef0be865594ec292
b4910f4https://github.com/microsoft/TypeScript/pull/60268/commits/b4910f45f8d9b1a44ae714e5ef0be865594ec292
https://github.com/gabritto
more fixeshttps://github.com/microsoft/TypeScript/pull/60268/commits/6258bc0ae2fcb900ab93a116afb934f4b5ca726f
6258bc0https://github.com/microsoft/TypeScript/pull/60268/commits/6258bc0ae2fcb900ab93a116afb934f4b5ca726f
https://github.com/gabritto
WIP: account for pre-existing mappinghttps://github.com/microsoft/TypeScript/pull/60268/commits/de3428d887b21a2836e791ed60383e89e78886a7
de3428dhttps://github.com/microsoft/TypeScript/pull/60268/commits/de3428d887b21a2836e791ed60383e89e78886a7
https://github.com/gabritto
only narrow when we take a true branch of a conditionalhttps://github.com/microsoft/TypeScript/pull/60268/commits/04980d3e7bfc2457d305cdb5df3a0e3dd2a8a1bc
04980d3https://github.com/microsoft/TypeScript/pull/60268/commits/04980d3e7bfc2457d305cdb5df3a0e3dd2a8a1bc
https://github.com/gabritto
small fix + new testshttps://github.com/microsoft/TypeScript/pull/60268/commits/e60a625288302f2aceca6d53effe68089a4064b6
e60a625https://github.com/microsoft/TypeScript/pull/60268/commits/e60a625288302f2aceca6d53effe68089a4064b6
https://github.com/gabritto
fix optional parameter handling and shadowinghttps://github.com/microsoft/TypeScript/pull/60268/commits/ee2d1bad15f115ac7c0f213ace2bcfb8118909d7
ee2d1bahttps://github.com/microsoft/TypeScript/pull/60268/commits/ee2d1bad15f115ac7c0f213ace2bcfb8118909d7
https://github.com/gabritto
fix skip parentheseshttps://github.com/microsoft/TypeScript/pull/60268/commits/b8ce4903dac236e2f426bc5f0d4555c71592e46c
b8ce490https://github.com/microsoft/TypeScript/pull/60268/commits/b8ce4903dac236e2f426bc5f0d4555c71592e46c
https://github.com/gabritto
fix updates to binder, cleanup in checkerhttps://github.com/microsoft/TypeScript/pull/60268/commits/24397676014f3e4b5b6ffbe112a57e33c9f293d4
2439767https://github.com/microsoft/TypeScript/pull/60268/commits/24397676014f3e4b5b6ffbe112a57e33c9f293d4
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/60268/commits/3f504f4fbc1caf9c10814d48d8897a34f8a34dec
3f504f4https://github.com/microsoft/TypeScript/pull/60268/commits/3f504f4fbc1caf9c10814d48d8897a34f8a34dec
https://github.com/gabritto
HasFlowNode update & fixeshttps://github.com/microsoft/TypeScript/pull/60268/commits/5e8ca3ebdbf0cde7bdaf03e79fbc7d627fe0c09a
5e8ca3ehttps://github.com/microsoft/TypeScript/pull/60268/commits/5e8ca3ebdbf0cde7bdaf03e79fbc7d627fe0c09a
https://github.com/gabritto
cleanup; always check conditional expression's condition inside retur…https://github.com/microsoft/TypeScript/pull/60268/commits/534cc38847246051ff301bd1401b65abc023e71b
534cc38https://github.com/microsoft/TypeScript/pull/60268/commits/534cc38847246051ff301bd1401b65abc023e71b
https://github.com/gabritto
update test after merginghttps://github.com/microsoft/TypeScript/pull/60268/commits/1dc9ab55c873cf6a4f00990526df9843ec7456d6
1dc9ab5https://github.com/microsoft/TypeScript/pull/60268/commits/1dc9ab55c873cf6a4f00990526df9843ec7456d6
https://github.com/gabritto
maybe make binder change fasterhttps://github.com/microsoft/TypeScript/pull/60268/commits/a94bc2316c91750d032229c00326c4abe334c500
a94bc23https://github.com/microsoft/TypeScript/pull/60268/commits/a94bc2316c91750d032229c00326c4abe334c500
https://github.com/gabritto
don't narrow if conditional has infer type paramshttps://github.com/microsoft/TypeScript/pull/60268/commits/046b53c3a67ce63ff3bc1e5b007e16eff1877a3b
046b53chttps://github.com/microsoft/TypeScript/pull/60268/commits/046b53c3a67ce63ff3bc1e5b007e16eff1877a3b
https://github.com/gabritto
don't walk up parents when binding conditional expressionhttps://github.com/microsoft/TypeScript/pull/60268/commits/5a83feb3e66e62a6adacc80c555ee14f3709f56d
5a83febhttps://github.com/microsoft/TypeScript/pull/60268/commits/5a83feb3e66e62a6adacc80c555ee14f3709f56d
https://github.com/gabritto
add promise and generator testshttps://github.com/microsoft/TypeScript/pull/60268/commits/1ac4a588ec22c9ab53ce558e806a66688b90546e
1ac4a58https://github.com/microsoft/TypeScript/pull/60268/commits/1ac4a588ec22c9ab53ce558e806a66688b90546e
https://github.com/gabritto
get rid of casthttps://github.com/microsoft/TypeScript/pull/60268/commits/db219a3f54e5dd88c906637aeac956fbec6cf3bf
db219a3https://github.com/microsoft/TypeScript/pull/60268/commits/db219a3f54e5dd88c906637aeac956fbec6cf3bf
https://github.com/gabritto
add indexed access testshttps://github.com/microsoft/TypeScript/pull/60268/commits/56792a1c03510bd3c9587f4229181c97b6568014
56792a1https://github.com/microsoft/TypeScript/pull/60268/commits/56792a1c03510bd3c9587f4229181c97b6568014
https://github.com/gabritto
WIPhttps://github.com/microsoft/TypeScript/pull/60268/commits/b292bd8dea0f602c558f0dcb05701ae36ac1d9ed
b292bd8https://github.com/microsoft/TypeScript/pull/60268/commits/b292bd8dea0f602c558f0dcb05701ae36ac1d9ed
gabrittohttps://github.com/gabritto
September 9, 2024 13:41https://github.com/microsoft/TypeScript/pull/60268#commits-pushed-10403cf
https://github.com/gabritto
refactoringhttps://github.com/microsoft/TypeScript/pull/60268/commits/10403cff5dbd75ac4880e17cdc7a9d6f181c8d02
10403cfhttps://github.com/microsoft/TypeScript/pull/60268/commits/10403cff5dbd75ac4880e17cdc7a9d6f181c8d02
https://github.com/gabritto
switch reference detection algorithmhttps://github.com/microsoft/TypeScript/pull/60268/commits/99d3cd5350a8d8d31bbcfbfefa1e5f060f13eab1
99d3cd5https://github.com/microsoft/TypeScript/pull/60268/commits/99d3cd5350a8d8d31bbcfbfefa1e5f060f13eab1
https://github.com/gabritto
refactor and add more testshttps://github.com/microsoft/TypeScript/pull/60268/commits/39d2f2bc1ddb80ffb8ab0322614214168399fe29
39d2f2bhttps://github.com/microsoft/TypeScript/pull/60268/commits/39d2f2bc1ddb80ffb8ab0322614214168399fe29
https://github.com/gabritto
remove unusedhttps://github.com/microsoft/TypeScript/pull/60268/commits/42f7a2d07f0dc48415f2a1f31f1a256b598a0ddd
42f7a2dhttps://github.com/microsoft/TypeScript/pull/60268/commits/42f7a2d07f0dc48415f2a1f31f1a256b598a0ddd
https://github.com/gabritto
Merge branch 'main' into gabritto/d2-detecthttps://github.com/microsoft/TypeScript/pull/60268/commits/678d2e00218d4a4f65c891c0bd663bc68623e1d1
678d2e0https://github.com/microsoft/TypeScript/pull/60268/commits/678d2e00218d4a4f65c891c0bd663bc68623e1d1
https://github.com/gabritto
update baselineshttps://github.com/microsoft/TypeScript/pull/60268/commits/7e1fe01f6b76bec603ff9b32adadbcacd24f41d8
7e1fe01https://github.com/microsoft/TypeScript/pull/60268/commits/7e1fe01f6b76bec603ff9b32adadbcacd24f41d8
https://github.com/gabritto
refactor and fix validation of conditional return typehttps://github.com/microsoft/TypeScript/pull/60268/commits/bbaf88f900a31237ed1e0362c327f181ea34d19b
bbaf88fhttps://github.com/microsoft/TypeScript/pull/60268/commits/bbaf88f900a31237ed1e0362c327f181ea34d19b
https://github.com/gabritto
Merge branch 'main' into gabritto/d2-detecthttps://github.com/microsoft/TypeScript/pull/60268/commits/a8200ecd93c7914311a5168d17164f7a93f267b4
a8200echttps://github.com/microsoft/TypeScript/pull/60268/commits/a8200ecd93c7914311a5168d17164f7a93f267b4
https://github.com/gabritto
fmthttps://github.com/microsoft/TypeScript/pull/60268/commits/47d8d3f929a21f0755ce9fbf6a8d0f7d63571d05
47d8d3fhttps://github.com/microsoft/TypeScript/pull/60268/commits/47d8d3f929a21f0755ce9fbf6a8d0f7d63571d05
https://github.com/gabritto
cache intermediate results for conditional validationhttps://github.com/microsoft/TypeScript/pull/60268/commits/228148d5d044fcef4752ccbd3baac93cf1be567e
228148dhttps://github.com/microsoft/TypeScript/pull/60268/commits/228148d5d044fcef4752ccbd3baac93cf1be567e
https://github.com/gabritto
take mapper into consideration when validating conditional typehttps://github.com/microsoft/TypeScript/pull/60268/commits/76718d8755052f30d4f794e5d3a4c454e962b75d
76718d8https://github.com/microsoft/TypeScript/pull/60268/commits/76718d8755052f30d4f794e5d3a4c454e962b75d
https://github.com/gabritto
refactorhttps://github.com/microsoft/TypeScript/pull/60268/commits/20b79eb8c8bdaf77a8a594ddd1d94646d7fc3d87
20b79ebhttps://github.com/microsoft/TypeScript/pull/60268/commits/20b79eb8c8bdaf77a8a594ddd1d94646d7fc3d87
https://github.com/gabritto
don't skip jsdoc type assertionshttps://github.com/microsoft/TypeScript/pull/60268/commits/3788ada9b9fb9dfdf92041455e1854c065bda2b8
3788adahttps://github.com/microsoft/TypeScript/pull/60268/commits/3788ada9b9fb9dfdf92041455e1854c065bda2b8
https://github.com/gabritto
Merge branch 'main' into gabritto/d2-detecthttps://github.com/microsoft/TypeScript/pull/60268/commits/2569804d0c7f2ff94ff2aab9ea82218c0a127000
2569804https://github.com/microsoft/TypeScript/pull/60268/commits/2569804d0c7f2ff94ff2aab9ea82218c0a127000
https://github.com/gabritto
experiment: always set flow node in cond exprhttps://github.com/microsoft/TypeScript/pull/60268/commits/827962fab3a2dd03279dc0562c3be3cb7d6df151
827962fhttps://github.com/microsoft/TypeScript/pull/60268/commits/827962fab3a2dd03279dc0562c3be3cb7d6df151
https://github.com/gabritto
support jsdochttps://github.com/microsoft/TypeScript/pull/60268/commits/4e773730b7b75e4600c7b22bc07345bfa89cc18b
4e77373https://github.com/microsoft/TypeScript/pull/60268/commits/4e773730b7b75e4600c7b22bc07345bfa89cc18b
https://github.com/gabritto
add more jsdoc testshttps://github.com/microsoft/TypeScript/pull/60268/commits/c076dda4e80d622e2bae1e32cae92bd275091047
c076ddahttps://github.com/microsoft/TypeScript/pull/60268/commits/c076dda4e80d622e2bae1e32cae92bd275091047
https://github.com/gabritto
remove support for conditional expressionshttps://github.com/microsoft/TypeScript/pull/60268/commits/156d52bef4fa171fe352be1e3eb01061cf09acdb
156d52bhttps://github.com/microsoft/TypeScript/pull/60268/commits/156d52bef4fa171fe352be1e3eb01061cf09acdb
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
gabrittohttps://github.com/gabritto
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#event-14709037269
https://github.com/typescript-bot
typescript-bothttps://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
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#event-14709037348
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#issuecomment-2421016632
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#issuecomment-2421016701
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=163942
👀 Resultshttps://github.com/microsoft/TypeScript/pull/60268#issuecomment-2421064260
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#issuecomment-2421064260
@gabrittohttps://github.com/gabritto
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=163942&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Oct 18, 2024https://github.com/microsoft/TypeScript/pull/60268#event-14709802996
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Oct 18, 2024 https://github.com/microsoft/TypeScript/pull/60268#ref-pullrequest-2064587329
Narrow generic conditional and indexed access return types when checking return statements #56941 https://github.com/microsoft/TypeScript/pull/56941
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Nov 30, 2024https://github.com/microsoft/TypeScript/pull/60268#issuecomment-2508935553
@gabrittohttps://github.com/gabritto
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Dec 2, 2024https://github.com/microsoft/TypeScript/pull/60268#event-15496317547
https://github.com/gabritto
gabrittohttps://github.com/gabritto
August 25, 2025 18:37https://github.com/microsoft/TypeScript/pull/60268#event-19328202688
https://github.com/microsoft
microsofthttps://github.com/microsoft
Feb 25, 2026https://github.com/microsoft/TypeScript/pull/60268#event-23077500629
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F60268
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/gabritto
gabritto https://github.com/gabritto
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
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/60268
https://github.com/gabritto
https://github.com/typescript-bot
https://github.com/Andarist
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.