René's URL Explorer Experiment


Title: Template literal types for contextually typed template literal expressions by ahejlsberg · Pull Request #43376 · microsoft/TypeScript · GitHub

Open Graph Title: Template literal types for contextually typed template literal expressions by ahejlsberg · Pull Request #43376 · microsoft/TypeScript

X Title: Template literal types for contextually typed template literal expressions by ahejlsberg · Pull Request #43376 · microsoft/TypeScript

Description: In #41891 we introduced template literal types for all template literal expressions. That turned out to be too much of a breaking change, and it was reverted in #42588. In this PR we instead introd...

Open Graph Description: In #41891 we introduced template literal types for all template literal expressions. That turned out to be too much of a breaking change, and it was reverted in #42588. In this PR we instead introd...

X Description: In #41891 we introduced template literal types for all template literal expressions. That turned out to be too much of a breaking change, and it was reverted in #42588. In this PR we instead introd...

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

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:2e787bbf-e820-b03e-4e8d-5fe7e1d89fa4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4B6:2D647F:1F61A51:2B1A8F2:6964CC48
html-safe-nonce9a9aa3b6a241af2329898421ca3b0703afca4e6b7dc450faa813dd2ebe6046e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEI2OjJENjQ3RjoxRjYxQTUxOjJCMUE4RjI6Njk2NENDNDgiLCJ2aXNpdG9yX2lkIjoiNDIxMzgxMTUxMTI5ODQxMTU5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ce49d37daa983c7eb64aa9c01069ef382e9624d64b4c23cb5e1cb5a291dac16
hovercard-subject-tagpull_request:600905213
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/43376/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d879f2d1edcc8d710cf096a6cd8ee599cab93751397df64fd523c6687088f8b6/microsoft/TypeScript/pull/43376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d879f2d1edcc8d710cf096a6cd8ee599cab93751397df64fd523c6687088f8b6/microsoft/TypeScript/pull/43376
og:image:altIn #41891 we introduced template literal types for all template literal expressions. That turned out to be too much of a breaking change, and it was reverted in #42588. In this PR we instead introd...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d
turbo-cache-controlno-preview
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
release8f997e7f84bd1db9537ba403fa68be0da3423594
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/43376#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F43376
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F43376
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/43376
Reloadhttps://github.com/microsoft/TypeScript/pull/43376
Reloadhttps://github.com/microsoft/TypeScript/pull/43376
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.2k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 107k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k https://github.com/microsoft/TypeScript/issues
Pull requests 496 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects 1 https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/microsoft/TypeScript/security
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
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 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/microsoft/TypeScript/pull/43376#issue-comment-box
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fix43143https://github.com/microsoft/TypeScript/tree/fix43143
Template literal types for contextually typed template literal expressions https://github.com/microsoft/TypeScript/pull/43376#top
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fix43143https://github.com/microsoft/TypeScript/tree/fix43143
Conversation 2 https://github.com/microsoft/TypeScript/pull/43376
Commits 4 https://github.com/microsoft/TypeScript/pull/43376/commits
Checks 0 https://github.com/microsoft/TypeScript/pull/43376/checks
Files changed https://github.com/microsoft/TypeScript/pull/43376/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 25, 2021https://github.com/microsoft/TypeScript/pull/43376#issue-841125165
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
#41891https://github.com/microsoft/TypeScript/pull/41891
#42588https://github.com/microsoft/TypeScript/pull/42588
#43143https://github.com/microsoft/TypeScript/issues/43143
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
ahejlsberghttps://github.com/ahejlsberg
March 25, 2021 09:25https://github.com/microsoft/TypeScript/pull/43376#commits-pushed-df77f4d
https://github.com/ahejlsberg
Template literal types for contextually typed template literal expres…https://github.com/microsoft/TypeScript/pull/43376/commits/df77f4d59ba42395f04bc4183458455de253461c
df77f4dhttps://github.com/microsoft/TypeScript/pull/43376/commits/df77f4d59ba42395f04bc4183458455de253461c
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/43376/commits/1ba291c3261c73cf9295a656c5abe65b5495c552
1ba291chttps://github.com/microsoft/TypeScript/pull/43376/commits/1ba291c3261c73cf9295a656c5abe65b5495c552
https://github.com/ahejlsberg
Add regression testhttps://github.com/microsoft/TypeScript/pull/43376/commits/c8ce5c6494048987a2028436e6164d1d65f12c46
c8ce5c6https://github.com/microsoft/TypeScript/pull/43376/commits/c8ce5c6494048987a2028436e6164d1d65f12c46
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
ahejlsberghttps://github.com/ahejlsberg
Mar 25, 2021https://github.com/microsoft/TypeScript/pull/43376#event-4509042168
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 Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Mar 25, 2021https://github.com/microsoft/TypeScript/pull/43376#event-4509042228
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
DanielRosenwasserhttps://github.com/DanielRosenwasser
RyanCavanaughhttps://github.com/RyanCavanaugh
March 25, 2021 16:55https://github.com/microsoft/TypeScript/pull/43376#event-4509043046
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
TypeScript 4.3.1https://github.com/microsoft/TypeScript/milestone/138
Mar 25, 2021https://github.com/microsoft/TypeScript/pull/43376#event-4509044179
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Mar 25, 2021 https://github.com/microsoft/TypeScript/pull/43376#pullrequestreview-621493584
View reviewed changes https://github.com/microsoft/TypeScript/pull/43376/files/c8ce5c6494048987a2028436e6164d1d65f12c46
https://github.com/ahejlsberg
Add a few more testshttps://github.com/microsoft/TypeScript/pull/43376/commits/a1550821ab817a1e078996a26b52de26ef6078f4
a155082https://github.com/microsoft/TypeScript/pull/43376/commits/a1550821ab817a1e078996a26b52de26ef6078f4
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Mar 26, 2021 https://github.com/microsoft/TypeScript/pull/43376#pullrequestreview-622328219
View reviewed changes https://github.com/microsoft/TypeScript/pull/43376/files/a1550821ab817a1e078996a26b52de26ef6078f4
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
a26acf4https://github.com/microsoft/TypeScript/commit/a26acf454088bfab8956f44e6254e167a91f0f9e
Mar 26, 2021https://github.com/microsoft/TypeScript/pull/43376#event-4515213335
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
March 26, 2021 17:32https://github.com/microsoft/TypeScript/pull/43376#event-4515213677
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 26, 2021 https://github.com/microsoft/TypeScript/pull/43376#ref-issue-748207611
Try to preserve template-ness of string literal types where possible #41631 https://github.com/microsoft/TypeScript/issues/41631
https://github.com/orta
ortahttps://github.com/orta
Mar 26, 2021https://github.com/microsoft/TypeScript/pull/43376#issuecomment-808431274
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 26, 2021https://github.com/microsoft/TypeScript/pull/43376#issuecomment-808431317
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
@ortahttps://github.com/orta
a155082https://github.com/microsoft/TypeScript/commit/a1550821ab817a1e078996a26b52de26ef6078f4
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=99401
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 7, 2021 https://github.com/microsoft/TypeScript/pull/43376#ref-issue-852859164
Design Meeting Notes, 3/26/2021 #43581 https://github.com/microsoft/TypeScript/issues/43581
Jun 6, 2021 https://github.com/microsoft/TypeScript/pull/43376#ref-pullrequest-397176111
Negated types #29317 https://github.com/microsoft/TypeScript/pull/29317
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Aug 21, 2023 https://github.com/microsoft/TypeScript/pull/43376#ref-pullrequest-1674363472
Evaluate simple template expressions #53907 https://github.com/microsoft/TypeScript/pull/53907
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/43376#event-20417389267
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%2F43376
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/43376/files/c8ce5c6494048987a2028436e6164d1d65f12c46
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
https://github.com/microsoft/TypeScript/pull/43376/files/a1550821ab817a1e078996a26b52de26ef6078f4
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
TypeScript 4.3.1 https://github.com/microsoft/TypeScript/milestone/138
Cannot define a matching template literal type to a defined template literal https://github.com/microsoft/TypeScript/issues/43143
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/43376
https://github.com/ahejlsberg
https://github.com/orta
https://github.com/typescript-bot
https://github.com/DanielRosenwasser
https://github.com/RyanCavanaugh
https://github.com/apps/copilot-swe-agent
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.