René's URL Explorer Experiment


Title: Narrow generic conditional and indexed access return types when checking return statements by gabritto · Pull Request #56941 · microsoft/TypeScript · GitHub

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

X Title: Narrow generic conditional and indexed access return types when checking return statements by gabritto · Pull Request #56941 · 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 by gabritto · Pull Request #56941 · microsoft/TypeScript

Open Graph Description: Fixes #33912. Fixes #33014. Motivation Sometimes we want to write functions whose return type is picked between different options, depending on the type of a parameter. For instance: declare const ...

X Description: Fixes #33912. Fixes #33014. Motivation Sometimes we want to write functions whose return type is picked between different options, depending on the type of a parameter. For instance: declare const ...

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

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:c17a517f-c392-3d5f-36bf-20bf112139bf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB064:337FE1:585145:77FC34:6A5FFCBE
html-safe-noncef1545f83c9b4041e7f1ec4a85b97ecb65dfeee2af2692b807ccfd73ae36dfa7b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDY0OjMzN0ZFMTo1ODUxNDU6NzdGQzM0OjZBNUZGQ0JFIiwidmlzaXRvcl9pZCI6IjE1MDAyNjEwNzc4OTY2NTgxMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ec7da87db26e8474279d91797a5e997e3f77a40287b26e4cc32bd4bc69ade78
hovercard-subject-tagpull_request:1663762217
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/56941/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c743514bd1cfc81d2c592d520f4e02e1487ec44717581c708ccbf4bc15a032f6/microsoft/TypeScript/pull/56941
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c743514bd1cfc81d2c592d520f4e02e1487ec44717581c708ccbf4bc15a032f6/microsoft/TypeScript/pull/56941
og:image:altFixes #33912. Fixes #33014. Motivation Sometimes we want to write functions whose return type is picked between different options, depending on the type of a parameter. For instance: declare const ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegabritto
hostnamegithub.com
expected-hostnamegithub.com
None79522f2cee5c5409f33a714312a1a68d41ad77a807626020d980fb1eb81def07
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
release3df4fbea9b6b5ead5c6724a99dc5f5b62caa864b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/56941#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F56941
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%2F56941
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/56941
Reloadhttps://github.com/microsoft/TypeScript/pull/56941
Reloadhttps://github.com/microsoft/TypeScript/pull/56941
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
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-detecthttps://github.com/microsoft/TypeScript/tree/gabritto/d2-detect
Conversationhttps://github.com/microsoft/TypeScript/pull/56941
Commits102 (102)https://github.com/microsoft/TypeScript/pull/56941/commits
Checkshttps://github.com/microsoft/TypeScript/pull/56941/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/56941/files
Narrow generic conditional and indexed access return types when checking return statementshttps://github.com/microsoft/TypeScript/pull/56941#top
gabrittohttps://github.com/gabritto
mainhttps://github.com/microsoft/TypeScript/tree/main
gabritto/d2-detecthttps://github.com/microsoft/TypeScript/tree/gabritto/d2-detect
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#issue-2064587329
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
#33912https://github.com/microsoft/TypeScript/issues/33912
#33014https://github.com/microsoft/TypeScript/issues/33014
nested types case in dependentReturnType6.ts testhttps://github.com/microsoft/TypeScript/pull/56941/files#diff-f40212beae0a9723380268c8a63a1560e91b9431a1fda539b2092cd4778e5fcfR28-R51
#56941 (comment)https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2406411716
#56941 (comment)https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2403351320
#60268 (comment)https://github.com/microsoft/TypeScript/pull/60268#issuecomment-2421064260
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
gabrittohttps://github.com/gabritto
May 15, 2023 18:15https://github.com/microsoft/TypeScript/pull/56941#commits-pushed-0d393e3
https://github.com/gabritto
WIP: custom instantiationhttps://github.com/microsoft/TypeScript/pull/56941/commits/0d393e324acb8353d386b4723756e914feefbd27
0d393e3https://github.com/microsoft/TypeScript/pull/56941/commits/0d393e324acb8353d386b4723756e914feefbd27
https://github.com/gabritto
fix more thingshttps://github.com/microsoft/TypeScript/pull/56941/commits/a1d9f89f5054034899d8ffd467898407223a3201
a1d9f89https://github.com/microsoft/TypeScript/pull/56941/commits/a1d9f89f5054034899d8ffd467898407223a3201
https://github.com/gabritto
latest fixeshttps://github.com/microsoft/TypeScript/pull/56941/commits/b9495a988e79515a8f411b210ef25f6532d1d4ee
b9495a9https://github.com/microsoft/TypeScript/pull/56941/commits/b9495a988e79515a8f411b210ef25f6532d1d4ee
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/56941/commits/81cdee5ee98570d1944295359f50eb1c4ed27334
81cdee5https://github.com/microsoft/TypeScript/pull/56941/commits/81cdee5ee98570d1944295359f50eb1c4ed27334
https://github.com/gabritto
fix bare type parameter instantiationhttps://github.com/microsoft/TypeScript/pull/56941/commits/af57b3469c8e064595209ebb4cef120bbf8fda9c
af57b34https://github.com/microsoft/TypeScript/pull/56941/commits/af57b3469c8e064595209ebb4cef120bbf8fda9c
https://github.com/gabritto
change binder. BROKENhttps://github.com/microsoft/TypeScript/pull/56941/commits/01152a0df832520205c9b3498ed315ee89a9efef
01152a0https://github.com/microsoft/TypeScript/pull/56941/commits/01152a0df832520205c9b3498ed315ee89a9efef
https://github.com/gabritto
fix binder changehttps://github.com/microsoft/TypeScript/pull/56941/commits/eac319203a0da13ff58b0d7e0858e7f9ec4129f0
eac3192https://github.com/microsoft/TypeScript/pull/56941/commits/eac319203a0da13ff58b0d7e0858e7f9ec4129f0
https://github.com/gabritto
clean up + testshttps://github.com/microsoft/TypeScript/pull/56941/commits/199ecd028f0a0427d3bf1795b382db8661ef39b8
199ecd0https://github.com/microsoft/TypeScript/pull/56941/commits/199ecd028f0a0427d3bf1795b382db8661ef39b8
https://github.com/gabritto
WIPhttps://github.com/microsoft/TypeScript/pull/56941/commits/d0e85d0c5afc393b93cb50761492565985fa820b
d0e85d0https://github.com/microsoft/TypeScript/pull/56941/commits/d0e85d0c5afc393b93cb50761492565985fa820b
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/56941/commits/23e3d33042674a5857dc24916656dce42c89e786
23e3d33https://github.com/microsoft/TypeScript/pull/56941/commits/23e3d33042674a5857dc24916656dce42c89e786
https://github.com/gabritto
defer conditional unless narrowinghttps://github.com/microsoft/TypeScript/pull/56941/commits/d9ac1027a371842567bc1f3e8bcfa594ea763915
d9ac102https://github.com/microsoft/TypeScript/pull/56941/commits/d9ac1027a371842567bc1f3e8bcfa594ea763915
https://github.com/gabritto
don't skip jsdoc type assertionshttps://github.com/microsoft/TypeScript/pull/56941/commits/b4910f45f8d9b1a44ae714e5ef0be865594ec292
b4910f4https://github.com/microsoft/TypeScript/pull/56941/commits/b4910f45f8d9b1a44ae714e5ef0be865594ec292
https://github.com/gabritto
more fixeshttps://github.com/microsoft/TypeScript/pull/56941/commits/6258bc0ae2fcb900ab93a116afb934f4b5ca726f
6258bc0https://github.com/microsoft/TypeScript/pull/56941/commits/6258bc0ae2fcb900ab93a116afb934f4b5ca726f
https://github.com/gabritto
WIP: account for pre-existing mappinghttps://github.com/microsoft/TypeScript/pull/56941/commits/de3428d887b21a2836e791ed60383e89e78886a7
de3428dhttps://github.com/microsoft/TypeScript/pull/56941/commits/de3428d887b21a2836e791ed60383e89e78886a7
https://github.com/gabritto
only narrow when we take a true branch of a conditionalhttps://github.com/microsoft/TypeScript/pull/56941/commits/04980d3e7bfc2457d305cdb5df3a0e3dd2a8a1bc
04980d3https://github.com/microsoft/TypeScript/pull/56941/commits/04980d3e7bfc2457d305cdb5df3a0e3dd2a8a1bc
https://github.com/gabritto
small fix + new testshttps://github.com/microsoft/TypeScript/pull/56941/commits/e60a625288302f2aceca6d53effe68089a4064b6
e60a625https://github.com/microsoft/TypeScript/pull/56941/commits/e60a625288302f2aceca6d53effe68089a4064b6
https://github.com/gabritto
fix optional parameter handling and shadowinghttps://github.com/microsoft/TypeScript/pull/56941/commits/ee2d1bad15f115ac7c0f213ace2bcfb8118909d7
ee2d1bahttps://github.com/microsoft/TypeScript/pull/56941/commits/ee2d1bad15f115ac7c0f213ace2bcfb8118909d7
https://github.com/gabritto
fix skip parentheseshttps://github.com/microsoft/TypeScript/pull/56941/commits/b8ce4903dac236e2f426bc5f0d4555c71592e46c
b8ce490https://github.com/microsoft/TypeScript/pull/56941/commits/b8ce4903dac236e2f426bc5f0d4555c71592e46c
https://github.com/gabritto
fix updates to binder, cleanup in checkerhttps://github.com/microsoft/TypeScript/pull/56941/commits/24397676014f3e4b5b6ffbe112a57e33c9f293d4
2439767https://github.com/microsoft/TypeScript/pull/56941/commits/24397676014f3e4b5b6ffbe112a57e33c9f293d4
https://github.com/gabritto
Merge branch 'main' into gabritto/d2https://github.com/microsoft/TypeScript/pull/56941/commits/3f504f4fbc1caf9c10814d48d8897a34f8a34dec
3f504f4https://github.com/microsoft/TypeScript/pull/56941/commits/3f504f4fbc1caf9c10814d48d8897a34f8a34dec
https://github.com/gabritto
HasFlowNode update & fixeshttps://github.com/microsoft/TypeScript/pull/56941/commits/5e8ca3ebdbf0cde7bdaf03e79fbc7d627fe0c09a
5e8ca3ehttps://github.com/microsoft/TypeScript/pull/56941/commits/5e8ca3ebdbf0cde7bdaf03e79fbc7d627fe0c09a
https://github.com/gabritto
cleanup; always check conditional expression's condition inside retur…https://github.com/microsoft/TypeScript/pull/56941/commits/534cc38847246051ff301bd1401b65abc023e71b
534cc38https://github.com/microsoft/TypeScript/pull/56941/commits/534cc38847246051ff301bd1401b65abc023e71b
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
gabrittohttps://github.com/gabritto
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#event-11382797104
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
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#event-11382797190
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1875910393
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1875910476
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
@gabrittohttps://github.com/gabritto
a3a54cehttps://github.com/microsoft/TypeScript/commit/a3a54ce0582ac737deb91322a14003f92495794c
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159216
The results are in!https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1875932699
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/typescript-bot
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F56941
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1875998117
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 3, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1875998170
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
@gabrittohttps://github.com/gabritto
1b7489fhttps://github.com/microsoft/TypeScript/commit/1b7489f3f8edaf9d803f7c015538fe644cf4e1d8
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=159223
The results are in!https://github.com/microsoft/TypeScript/pull/56941#issuecomment-1876024799
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Oct 31, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2450574082
@gabrittohttps://github.com/gabritto
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=164039&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Oct 31, 2024https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2450683107
@gabrittohttps://github.com/gabritto
alibaba/formilyhttps://github.com/alibaba/formily
packages/grid/tsconfig.jsonhttps://github.com/alibaba/formily/blob/547253208322807aa94b1fa942f941bdaeaf0b12/packages/grid/tsconfig.json
packages/grid/src/index.ts#L111https://github.com/alibaba/formily/blob/547253208322807aa94b1fa942f941bdaeaf0b12/packages/grid/src/index.ts#L111
packages/grid/tsconfig.build.jsonhttps://github.com/alibaba/formily/blob/547253208322807aa94b1fa942f941bdaeaf0b12/packages/grid/tsconfig.build.json
packages/grid/src/index.ts#L111https://github.com/alibaba/formily/blob/547253208322807aa94b1fa942f941bdaeaf0b12/packages/grid/src/index.ts#L111
antvis/G2https://github.com/antvis/G2
tsconfig.jsonhttps://github.com/antvis/G2/blob/6013d72881276aca9d17d93908d33b21194979c6/tsconfig.json
src/runtime/plot.ts#L1279https://github.com/antvis/G2/blob/6013d72881276aca9d17d93908d33b21194979c6/src/runtime/plot.ts#L1279
cheeriojs/cheeriohttps://github.com/cheeriojs/cheerio
tsconfig.typedoc.jsonhttps://github.com/cheeriojs/cheerio/blob/5bb520e2a6d1b71a2ebaf90a75abd278cc3abe68/tsconfig.typedoc.json
src/api/attributes.ts#L241https://github.com/cheeriojs/cheerio/blob/5bb520e2a6d1b71a2ebaf90a75abd278cc3abe68/src/api/attributes.ts#L241
GrapesJS/grapesjshttps://github.com/GrapesJS/grapesjs
packages/core/tsconfig.jsonhttps://github.com/GrapesJS/grapesjs/blob/a0497d48fbdf468a84ebca10b848a9c10340eeac/packages/core/tsconfig.json
packages/core/src/dom_components/model/Component.ts#L1019https://github.com/GrapesJS/grapesjs/blob/a0497d48fbdf468a84ebca10b848a9c10340eeac/packages/core/src/dom_components/model/Component.ts#L1019
honojs/honohttps://github.com/honojs/hono
tsconfig.jsonhttps://github.com/honojs/hono/blob/4dd8b2b4353626f9c997905fcc9f4824558c1438/tsconfig.json
src/context.ts#L751https://github.com/honojs/hono/blob/4dd8b2b4353626f9c997905fcc9f4824558c1438/src/context.ts#L751
src/context.ts#L753https://github.com/honojs/hono/blob/4dd8b2b4353626f9c997905fcc9f4824558c1438/src/context.ts#L753
src/context.ts#L754https://github.com/honojs/hono/blob/4dd8b2b4353626f9c997905fcc9f4824558c1438/src/context.ts#L754
ionic-team/stencilhttps://github.com/ionic-team/stencil
scripts/tsconfig.jsonhttps://github.com/ionic-team/stencil/blob/94fc60b19011b918575622b63835b5f840d8b042/scripts/tsconfig.json
scripts/utils/release-utils.ts#L62https://github.com/ionic-team/stencil/blob/94fc60b19011b918575622b63835b5f840d8b042/scripts/utils/release-utils.ts#L62
jupyterlab/jupyterlabhttps://github.com/jupyterlab/jupyterlab
examples/filebrowser/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/tsconfig.json
examples/filebrowser/src/index.ts#L25https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/index.ts#L25
examples/filebrowser/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/tsconfig.json
examples/filebrowser/src/index.ts#L33https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/index.ts#L33
examples/filebrowser/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/tsconfig.json
examples/filebrowser/src/index.ts#L99https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/index.ts#L99
examples/filebrowser/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/tsconfig.json
examples/filebrowser/src/index.ts#L102https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/index.ts#L102
examples/filebrowser/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/filebrowser/src/tsconfig.json
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L26https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L26
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L28https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L28
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L96https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L96
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L102https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L102
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L108https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L108
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L123https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L123
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
examples/console/src/index.ts#L126https://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/index.ts#L126
examples/console/src/tsconfig.jsonhttps://github.com/jupyterlab/jupyterlab/blob/8e67004ae446fea3ffaeec561e47d855f8847f01/examples/console/src/tsconfig.json
microsoft/vscodehttps://github.com/microsoft/vscode
src/tsconfig.tsec.jsonhttps://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/tsconfig.tsec.json
src/vs/platform/configuration/common/configuration.ts#L297https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/configuration/common/configuration.ts#L297
src/vs/platform/contextkey/browser/contextKeyService.ts#L522https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/contextkey/browser/contextKeyService.ts#L522
src/vs/platform/observable/common/wrapInHotClass.ts#L23https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInHotClass.ts#L23
src/vs/platform/observable/common/wrapInHotClass.ts#L65https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInHotClass.ts#L65
src/vs/platform/observable/common/wrapInReloadableClass.ts#L17https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInReloadableClass.ts#L17
src/vs/workbench/services/preferences/common/preferencesModels.ts#L108https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/workbench/services/preferences/common/preferencesModels.ts#L108
src/vs/workbench/services/search/common/queryBuilder.ts#L652https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/workbench/services/search/common/queryBuilder.ts#L652
src/tsconfig.monaco.jsonhttps://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/tsconfig.monaco.json
src/vs/platform/configuration/common/configuration.ts#L297https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/configuration/common/configuration.ts#L297
src/vs/platform/contextkey/browser/contextKeyService.ts#L522https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/contextkey/browser/contextKeyService.ts#L522
src/vs/platform/observable/common/wrapInHotClass.ts#L23https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInHotClass.ts#L23
src/vs/platform/observable/common/wrapInHotClass.ts#L65https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInHotClass.ts#L65
src/vs/platform/observable/common/wrapInReloadableClass.ts#L17https://github.com/microsoft/vscode/blob/02565ff910d27d58cb375a2a4162ac857990e6fc/src/vs/platform/observable/common/wrapInReloadableClass.ts#L17
nextauthjs/next-authhttps://github.com/nextauthjs/next-auth
packages/adapter-pg/tsconfig.jsonhttps://github.com/nextauthjs/next-auth/blob/a88c7a316be0e786fd174480968d8b9b7694a7ee/packages/adapter-pg/tsconfig.json
packages/adapter-pg/src/index.ts#L58https://github.com/nextauthjs/next-auth/blob/a88c7a316be0e786fd174480968d8b9b7694a7ee/packages/adapter-pg/src/index.ts#L58
tailwindlabs/headlessuihttps://github.com/tailwindlabs/headlessui
packages/@headlessui-vue/tsconfig.jsonhttps://github.com/tailwindlabs/headlessui/blob/d71fb9cd2e12f5a48617b26e6bb3db90b3e07965/packages/@headlessui-vue/tsconfig.json
packages/@headlessui-vue/src/utils/match.ts#L8https://github.com/tailwindlabs/headlessui/blob/d71fb9cd2e12f5a48617b26e6bb3db90b3e07965/packages/@headlessui-vue/src/utils/match.ts#L8
vuejs/devtools-v6https://github.com/vuejs/devtools-v6
packages/api/tsconfig.jsonhttps://github.com/vuejs/devtools-v6/blob/dd2ab5d4275187cbd81952a2a3d53c335643c1f4/packages/api/tsconfig.json
packages/api/src/env.ts#L20https://github.com/vuejs/devtools-v6/blob/dd2ab5d4275187cbd81952a2a3d53c335643c1f4/packages/api/src/env.ts#L20
packages/api/src/env.ts#L22https://github.com/vuejs/devtools-v6/blob/dd2ab5d4275187cbd81952a2a3d53c335643c1f4/packages/api/src/env.ts#L22
packages/api/src/env.ts#L24https://github.com/vuejs/devtools-v6/blob/dd2ab5d4275187cbd81952a2a3d53c335643c1f4/packages/api/src/env.ts#L24
vuejs/vuehttps://github.com/vuejs/vue
tsconfig.jsonhttps://github.com/vuejs/vue/blob/9e88707940088cb1f4cd7dd210c9168a50dc347c/tsconfig.json
src/platforms/web/runtime/directives/show.ts#L7https://github.com/vuejs/vue/blob/9e88707940088cb1f4cd7dd210c9168a50dc347c/src/platforms/web/runtime/directives/show.ts#L7
src/platforms/web/runtime/directives/show.ts#L10https://github.com/vuejs/vue/blob/9e88707940088cb1f4cd7dd210c9168a50dc347c/src/platforms/web/runtime/directives/show.ts#L10
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/gabritto
gabrittohttps://github.com/gabritto
TypeScript 5.8.0https://github.com/microsoft/TypeScript/milestone/212
Nov 1, 2024https://github.com/microsoft/TypeScript/pull/56941#event-15051423827
https://github.com/gabritto
gabrittohttps://github.com/gabritto
30979c2https://github.com/microsoft/TypeScript/commit/30979c2651e5b0aa8ab583bbd8161cac3d0ea317
Nov 6, 2024https://github.com/microsoft/TypeScript/pull/56941#event-15134416846
https://github.com/gabritto
gabrittohttps://github.com/gabritto
November 6, 2024 02:18https://github.com/microsoft/TypeScript/pull/56941#event-15134418057
https://github.com/jcalz
jcalzhttps://github.com/jcalz
Nov 10, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-2647275592
Discriminated Union Return Type #60467 https://github.com/microsoft/TypeScript/issues/60467
https://github.com/andersk
anderskhttps://github.com/andersk
Nov 25, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2688956927
stream_events: Convert module to typescript. zulip/zulip#32454 https://github.com/zulip/zulip/pull/32454
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Nov 30, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2707273783
Check if switch statements are exhaustive when their expressions is generic with a literal type constraint #60644 https://github.com/microsoft/TypeScript/pull/60644
https://github.com/jfet97
jfet97https://github.com/jfet97
Dec 2, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-2711890087
Switch statements exhaustiveness check is failing when the expression has generic type but with literal type constraint #60658 https://github.com/microsoft/TypeScript/issues/60658
https://github.com/jfet97
jfet97https://github.com/jfet97
Dec 10, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2727684310
Let properties having primitive types discriminate object unions #60718 https://github.com/microsoft/TypeScript/pull/60718
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Dec 18, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2745826469
Improve unknown narrowing by negated type predicates #60795 https://github.com/microsoft/TypeScript/pull/60795
https://github.com/kirkwaiblinger
kirkwaiblingerhttps://github.com/kirkwaiblinger
Dec 19, 2024 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-2749094907
Separately check ternary branches for assignability #60813 https://github.com/microsoft/TypeScript/issues/60813
TypeScript 5.8 Iteration Plan #61023 https://github.com/microsoft/TypeScript/issues/61023
Omitted arguments are not candidates for possibly-undefined type parameters #61069 https://github.com/microsoft/TypeScript/issues/61069
https://github.com/whalderman
whaldermanhttps://github.com/whalderman
Jan 29, 2025https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2622948876
@gabrittohttps://github.com/gabritto
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/shicks
shickshttps://github.com/shicks
Feb 4, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-2831325229
Google feedback on TS 5.8-beta #61116 https://github.com/microsoft/TypeScript/issues/61116
https://github.com/dgreensp
dgreensphttps://github.com/dgreensp
Feb 28, 2025https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2691267374
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Feb 28, 2025https://github.com/microsoft/TypeScript/pull/56941#issuecomment-2691306253
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
#61136https://github.com/microsoft/TypeScript/pull/61136
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/gabritto
gabrittohttps://github.com/gabritto
Mar 5, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2898638441
Bring back return type narrowing + fixes #61359 https://github.com/microsoft/TypeScript/pull/61359
https://github.com/controversial
controversialhttps://github.com/controversial
Mar 6, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-2882914604
feat: implement typed Input/Output interface for resolvers react-hook-form/resolvers#753 https://github.com/react-hook-form/resolvers/pull/753
https://github.com/king0920king0306
king0920king0306https://github.com/king0920king0306
May 2, 2025 https://github.com/microsoft/TypeScript/pull/56941#pullrequestreview-2812955228
View reviewed changes https://github.com/microsoft/TypeScript/pull/56941/files/86079ac4837e907f53265481d103a3c21dda3389
king0920king0306https://github.com/king0920king0306
https://github.com/microsoft/TypeScript/pull/56941#pullrequestreview-2812955228
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/controversial
controversialhttps://github.com/controversial
May 5, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-3036969266
TypeScript 5.9 Iteration Plan #61648 https://github.com/microsoft/TypeScript/issues/61648
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jun 6, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-pullrequest-3122317714
Port return conditional expression checking improvements microsoft/typescript-go#1072 https://github.com/microsoft/typescript-go/pull/1072
https://github.com/craigwllce
craigwllcehttps://github.com/craigwllce
Jun 12, 2025 https://github.com/microsoft/TypeScript/pull/56941#pullrequestreview-2919396084
View reviewed changes https://github.com/microsoft/TypeScript/pull/56941/files/86079ac4837e907f53265481d103a3c21dda3389
craigwllcehttps://github.com/craigwllce
https://github.com/microsoft/TypeScript/pull/56941#pullrequestreview-2919396084
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/craigwllce
craigwllcehttps://github.com/craigwllce
Jun 12, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-3138692893
finally #61851 https://github.com/microsoft/TypeScript/issues/61851
https://github.com/mokhtarmoyy
mokhtarmoyyhttps://github.com/mokhtarmoyy
Jul 2, 2025https://github.com/microsoft/TypeScript/pull/56941#issuecomment-3026859111
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/Rezazare113
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F56941
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Aug 8, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-3304883676
isArray not narrowing a type variable correctly since 5.8 #62238 https://github.com/microsoft/TypeScript/issues/62238
https://github.com/marcdumais-work
marcdumais-workhttps://github.com/marcdumais-work
Aug 21, 2025 https://github.com/microsoft/TypeScript/pull/56941#ref-issue-3343023119
Code needs some updates to compile with never typescript versions (TS2322) eclipse-cdt-cloud/tsp-typescript-client#140 https://github.com/eclipse-cdt-cloud/tsp-typescript-client/issues/140
https://github.com/microsoft
microsofthttps://github.com/microsoft
Jan 20, 2026https://github.com/microsoft/TypeScript/pull/56941#event-22170815637
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%2F56941
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/56941/files/03c9881b6f39e74d9bb35ffd1c6b02b9e39241a1
https://github.com/sandersn
sandersn https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/56941/files/03c9881b6f39e74d9bb35ffd1c6b02b9e39241a1
https://github.com/andrewbranch
andrewbranch https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/56941/files/26f228390388fd149ffcaeb994aa46fbd3382d17
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/Andarist
Andarist https://github.com/Andarist
https://github.com/microsoft/TypeScript/pull/56941/files/03c9881b6f39e74d9bb35ffd1c6b02b9e39241a1
https://github.com/king0920king0306
king0920king0306 https://github.com/king0920king0306
https://github.com/microsoft/TypeScript/pull/56941/files/86079ac4837e907f53265481d103a3c21dda3389
https://github.com/craigwllce
craigwllce https://github.com/craigwllce
https://github.com/microsoft/TypeScript/pull/56941/files/86079ac4837e907f53265481d103a3c21dda3389
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
TypeScript 5.8.0 https://github.com/microsoft/TypeScript/milestone/212
Relate control flow to conditional types in return types https://github.com/microsoft/TypeScript/issues/33912
Suggestion for Dependent-Type-Like Functions: Conservative Narrowing of Generic Indexed Access Result Type https://github.com/microsoft/TypeScript/issues/33014
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56941
https://github.com/gabritto
https://github.com/typescript-bot
https://github.com/jakebailey
https://github.com/Andarist
https://github.com/whalderman
https://github.com/dgreensp
https://github.com/mokhtarmoyy
https://github.com/Rezazare113
https://github.com/sandersn
https://github.com/weswigham
https://github.com/andrewbranch
https://github.com/king0920king0306
https://github.com/craigwllce
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.