René's URL Explorer Experiment


Title: Infer contextual types from generic return types by ahejlsberg · Pull Request #29478 · microsoft/TypeScript · GitHub

Open Graph Title: Infer contextual types from generic return types by ahejlsberg · Pull Request #29478 · microsoft/TypeScript

X Title: Infer contextual types from generic return types by ahejlsberg · Pull Request #29478 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Infer contextual types from generic return types by ahejlsberg · Pull Request #29478 · microsoft/TypeScript

Open Graph Description: When a generic method has one or more type parameters that appear in both parameter and return types and that method is called in a context where a contextual type exists, we now use inferences fro...

X Description: When a generic method has one or more type parameters that appear in both parameter and return types and that method is called in a context where a contextual type exists, we now use inferences fro...

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

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:5c66f1d9-8264-1a1a-ed36-a5aa7d1abb28
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB92C:CDD8D:40D56D:5E30D3:6A636EEF
html-safe-nonce093a40f463d221ff89ef25823b32c4f9cdffa661efb4a7404d22ee382d177f05
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTJDOkNERDhEOjQwRDU2RDo1RTMwRDM6NkE2MzZFRUYiLCJ2aXNpdG9yX2lkIjoiODUzNzExMzg5NjI3Mjc1MjM2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbfa0659ba2f35064f63fd8f4ab86938436fbb5dcdd33102f0a1febaccbda9696
hovercard-subject-tagpull_request:245868560
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/29478/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9a4d802041952a2e50a4af060f00ddf127076214b62c91ff6c2d0fb50825e187/microsoft/TypeScript/pull/29478
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a4d802041952a2e50a4af060f00ddf127076214b62c91ff6c2d0fb50825e187/microsoft/TypeScript/pull/29478
og:image:altWhen a generic method has one or more type parameters that appear in both parameter and return types and that method is called in a context where a contextual type exists, we now use inferences fro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonee7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03
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
releaseaa341b3f432dc63fa9633042725aec601722a352
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/29478#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F29478
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%2F29478
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/29478
Reloadhttps://github.com/microsoft/TypeScript/pull/29478
Reloadhttps://github.com/microsoft/TypeScript/pull/29478
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
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 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
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fixContextualReturnTypeshttps://github.com/microsoft/TypeScript/tree/fixContextualReturnTypes
Conversationhttps://github.com/microsoft/TypeScript/pull/29478
Commits15 (15)https://github.com/microsoft/TypeScript/pull/29478/commits
Checkshttps://github.com/microsoft/TypeScript/pull/29478/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/29478/files
Infer contextual types from generic return typeshttps://github.com/microsoft/TypeScript/pull/29478#top
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fixContextualReturnTypeshttps://github.com/microsoft/TypeScript/tree/fixContextualReturnTypes
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#issue-400754394
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
#5487https://github.com/microsoft/TypeScript/issues/5487
#11152https://github.com/microsoft/TypeScript/issues/11152
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
ahejlsberghttps://github.com/ahejlsberg
January 17, 2019 14:37https://github.com/microsoft/TypeScript/pull/29478#commits-pushed-1b4bce2
https://github.com/ahejlsberg
Infer contextual types from return types through generic functionshttps://github.com/microsoft/TypeScript/pull/29478/commits/1b4bce236eeb2dc6ed0f3a5467b15f5bedeb2dfa
1b4bce2https://github.com/microsoft/TypeScript/pull/29478/commits/1b4bce236eeb2dc6ed0f3a5467b15f5bedeb2dfa
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29478/commits/da9feca0b00ad2fb59ca23a0cbe882066521f4bb
da9fecahttps://github.com/microsoft/TypeScript/pull/29478/commits/da9feca0b00ad2fb59ca23a0cbe882066521f4bb
https://github.com/ahejlsberg
Remove literal freshness when contextual type is a literal typehttps://github.com/microsoft/TypeScript/pull/29478/commits/bb1c91fac6945481e0a56cebce98b855482377e4
bb1c91fhttps://github.com/microsoft/TypeScript/pull/29478/commits/bb1c91fac6945481e0a56cebce98b855482377e4
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/29478/commits/4163d2dee4d78e26e831f9c369515fd1028d7cde
4163d2dhttps://github.com/microsoft/TypeScript/pull/29478/commits/4163d2dee4d78e26e831f9c369515fd1028d7cde
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29478/commits/c809002bd3d07df7b6b60893a940c3079c4338fc
c809002https://github.com/microsoft/TypeScript/pull/29478/commits/c809002bd3d07df7b6b60893a940c3079c4338fc
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
DanielRosenwasserhttps://github.com/DanielRosenwasser
RyanCavanaughhttps://github.com/RyanCavanaugh
sandersnhttps://github.com/sandersn
weswighamhttps://github.com/weswigham
January 18, 2019 14:46https://github.com/microsoft/TypeScript/pull/29478#event-2083090963
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Jan 18, 2019 https://github.com/microsoft/TypeScript/pull/29478#pullrequestreview-194203405
View reviewed changes https://github.com/microsoft/TypeScript/pull/29478/files/c809002bd3d07df7b6b60893a940c3079c4338fc
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/29478/files/c809002bd3d07df7b6b60893a940c3079c4338fc#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
weswighamhttps://github.com/weswigham
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249124543
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
weswighamhttps://github.com/weswigham
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249124993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
jack-williamshttps://github.com/jack-williams
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249127666
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#29174https://github.com/microsoft/TypeScript/pull/29174
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
ahejlsberghttps://github.com/ahejlsberg
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249206772
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@weswighamhttps://github.com/weswigham
@jack-williamshttps://github.com/jack-williams
#29174https://github.com/microsoft/TypeScript/pull/29174
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
jack-williamshttps://github.com/jack-williams
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249219274
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ahejlsberghttps://github.com/ahejlsberg
#29168https://github.com/microsoft/TypeScript/issues/29168
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/29478/files/c809002bd3d07df7b6b60893a940c3079c4338fc#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
weswighamhttps://github.com/weswigham
Jan 18, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249125472
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/ahejlsberg
Address CR feedbackhttps://github.com/microsoft/TypeScript/pull/29478/commits/0b366ce751784e6aaced01daa107b9c9770d2996
0b366cehttps://github.com/microsoft/TypeScript/pull/29478/commits/0b366ce751784e6aaced01daa107b9c9770d2996
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Jan 19, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-pullrequest-394454799
Fix #29168 #29174 https://github.com/microsoft/TypeScript/pull/29174
https://github.com/ahejlsberg
Add missing return statements (ugh)https://github.com/microsoft/TypeScript/pull/29478/commits/0b1da02a62e3bb88611514840e6cc397ef33eab8
0b1da02https://github.com/microsoft/TypeScript/pull/29478/commits/0b1da02a62e3bb88611514840e6cc397ef33eab8
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
Jan 20, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-455864992
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
#29168https://github.com/microsoft/TypeScript/issues/29168
#29168https://github.com/microsoft/TypeScript/issues/29168
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Jan 20, 2019 https://github.com/microsoft/TypeScript/pull/29478#pullrequestreview-194366161
View reviewed changes https://github.com/microsoft/TypeScript/pull/29478/files/0b1da02a62e3bb88611514840e6cc397ef33eab8
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/29478/files/0b1da02a62e3bb88611514840e6cc397ef33eab8#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
jack-williamshttps://github.com/jack-williams
Jan 19, 2019https://github.com/microsoft/TypeScript/pull/29478#discussion_r249253751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
ahejlsberghttps://github.com/ahejlsberg
January 20, 2019 08:20https://github.com/microsoft/TypeScript/pull/29478#commits-pushed-60e7528
https://github.com/ahejlsberg
No union type reductions in contextual typeshttps://github.com/microsoft/TypeScript/pull/29478/commits/60e7528ee642a03708f9bda31d242d69a6271132
60e7528https://github.com/microsoft/TypeScript/pull/29478/commits/60e7528ee642a03708f9bda31d242d69a6271132
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29478/commits/dbea08f9c8be9c2aab63b01cb7c7ca114805aa37
dbea08fhttps://github.com/microsoft/TypeScript/pull/29478/commits/dbea08f9c8be9c2aab63b01cb7c7ca114805aa37
https://github.com/ahejlsberg
Add regression test forhttps://github.com/microsoft/TypeScript/pull/29478/commits/cf479fc384bad6f171927a4334954331d076003c
#29168https://github.com/microsoft/TypeScript/issues/29168
cf479fchttps://github.com/microsoft/TypeScript/pull/29478/commits/cf479fc384bad6f171927a4334954331d076003c
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29478/commits/2ea02517091efd421e9085af8154a8cb1e3db741
2ea0251https://github.com/microsoft/TypeScript/pull/29478/commits/2ea02517091efd421e9085af8154a8cb1e3db741
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Jan 20, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-455880240
#29168https://github.com/microsoft/TypeScript/issues/29168
#29168https://github.com/microsoft/TypeScript/issues/29168
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 23, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457003907
@ahejlsberghttps://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 23, 2019 https://github.com/microsoft/TypeScript/pull/29478#pullrequestreview-195791616
View reviewed changes https://github.com/microsoft/TypeScript/pull/29478/files/2ea02517091efd421e9085af8154a8cb1e3db741
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jan 24, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-402888992
Design Meeting Notes, 1/18/2019 #29568 https://github.com/microsoft/TypeScript/issues/29568
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29478#event-2096332525
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457460123
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457689983
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 25, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457689991
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
@RyanCavanaughhttps://github.com/RyanCavanaugh
2ea0251https://github.com/microsoft/TypeScript/commit/2ea02517091efd421e9085af8154a8cb1e3db741
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=21172
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jan 25, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-403339155
Design Meeting Notes, 1/25/2019 #29588 https://github.com/microsoft/TypeScript/issues/29588
https://github.com/ahejlsberg
Merge branch 'master' into fixContextualReturnTypeshttps://github.com/microsoft/TypeScript/pull/29478/commits/7c1bb14c93c3596617a099d5009f119d42ccff22
7c1bb14https://github.com/microsoft/TypeScript/pull/29478/commits/7c1bb14c93c3596617a099d5009f119d42ccff22
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Jan 26, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457872202
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 26, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457872203
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
@ahejlsberghttps://github.com/ahejlsberg
7c1bb14https://github.com/microsoft/TypeScript/commit/7c1bb14c93c3596617a099d5009f119d42ccff22
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=21270
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Jan 26, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-457875877
@RyanCavanaughhttps://github.com/RyanCavanaugh
#29168https://github.com/microsoft/TypeScript/issues/29168
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
TypeScript 3.4.0https://github.com/microsoft/TypeScript/milestone/86
Jan 28, 2019https://github.com/microsoft/TypeScript/pull/29478#event-2101748372
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 30, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-459121022
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 30, 2019 https://github.com/microsoft/TypeScript/pull/29478#pullrequestreview-198322574
View reviewed changes https://github.com/microsoft/TypeScript/pull/29478/files/7c1bb14c93c3596617a099d5009f119d42ccff22
RyanCavanaughhttps://github.com/RyanCavanaugh
https://github.com/microsoft/TypeScript/pull/29478#pullrequestreview-198322574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Jan 30, 2019https://github.com/microsoft/TypeScript/pull/29478#issuecomment-459142296
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
ahejlsberghttps://github.com/ahejlsberg
February 1, 2019 10:28https://github.com/microsoft/TypeScript/pull/29478#commits-pushed-fffd774
https://github.com/ahejlsberg
Merge branch 'master' into fixContextualReturnTypeshttps://github.com/microsoft/TypeScript/pull/29478/commits/fffd77457a18ed035417ef06ff25c960eb23c88e
fffd774https://github.com/microsoft/TypeScript/pull/29478/commits/fffd77457a18ed035417ef06ff25c960eb23c88e
https://github.com/ahejlsberg
Add breaking change reproshttps://github.com/microsoft/TypeScript/pull/29478/commits/c58157573e863e4a9838cbd7a62874e06e8f7b2b
c581575https://github.com/microsoft/TypeScript/pull/29478/commits/c58157573e863e4a9838cbd7a62874e06e8f7b2b
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29478/commits/42be36d1826eccd6686906e0c74c2de118083ffd
42be36dhttps://github.com/microsoft/TypeScript/pull/29478/commits/42be36d1826eccd6686906e0c74c2de118083ffd
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
607f2eahttps://github.com/microsoft/TypeScript/commit/607f2ea4dedae723e5fa840e64ce4a3231c05e9a
Feb 1, 2019https://github.com/microsoft/TypeScript/pull/29478#event-2113177877
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
February 1, 2019 20:31https://github.com/microsoft/TypeScript/pull/29478#event-2113177959
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
Feb 4, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-394339741
Regression in advanced nested types in TS 3.2 #29168 https://github.com/microsoft/TypeScript/issues/29168
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Feb 6, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-407049430
Change in behavior around keyof any inference #29765 https://github.com/microsoft/TypeScript/issues/29765
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Feb 11, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-408640117
[Bug] Union type compilation failed in Array.map() #29850 https://github.com/microsoft/TypeScript/issues/29850
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Mar 8, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-418986499
TypeScript 3.4 Iteration Plan #30281 https://github.com/microsoft/TypeScript/issues/30281
Use return type as an inference location #11152 https://github.com/microsoft/TypeScript/issues/11152
Type argument inference does not take call's contextual type into account #10245 https://github.com/microsoft/TypeScript/issues/10245
3.4 regression for type argument inference #30390 https://github.com/microsoft/TypeScript/issues/30390
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Oct 6, 2019 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-503119468
Bad type checking for GenericType vs GenericType #33833 https://github.com/microsoft/TypeScript/issues/33833
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Aug 29, 2020 https://github.com/microsoft/TypeScript/pull/29478#ref-pullrequest-688416643
Don't widen inferred return types when a contextual signature is available #40311 https://github.com/microsoft/TypeScript/pull/40311
https://github.com/jasonkuhrt
jasonkuhrthttps://github.com/jasonkuhrt
Oct 22, 2020 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-474308983
Union's resolveType doesn't know about __typename graphql-nexus/nexus#188 https://github.com/graphql-nexus/nexus/issues/188
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Nov 8, 2021 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-1046454308
wrong type inferred in reduce statement #46707 https://github.com/microsoft/TypeScript/issues/46707
Widen boolean literals when contextual type is full boolean type #48368 https://github.com/microsoft/TypeScript/pull/48368
No contextual typing from return types for boolean literals #48380 https://github.com/microsoft/TypeScript/pull/48380
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jul 9, 2023 https://github.com/microsoft/TypeScript/pull/29478#ref-issue-398330195
Type incorrectly inferred as union type when should be a string literal type #29373 https://github.com/microsoft/TypeScript/issues/29373
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/29478#event-20415884557
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%2F29478
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/29478/files/c809002bd3d07df7b6b60893a940c3079c4338fc
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
https://github.com/microsoft/TypeScript/pull/29478/files/7c1bb14c93c3596617a099d5009f119d42ccff22
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/sandersn
sandersn https://github.com/sandersn
https://github.com/jack-williams
jack-williams https://github.com/jack-williams
https://github.com/microsoft/TypeScript/pull/29478/files/0b1da02a62e3bb88611514840e6cc397ef33eab8
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
TypeScript 3.4.0 https://github.com/microsoft/TypeScript/milestone/86
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29478
https://github.com/ahejlsberg
https://github.com/cyrilletuzi
https://github.com/RyanCavanaugh
https://github.com/typescript-bot
https://github.com/weswigham
https://github.com/jack-williams
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.