René's URL Explorer Experiment


Title: String case change methods should return intrinsic string manipulation types · Issue #44268 · microsoft/TypeScript · GitHub

Open Graph Title: String case change methods should return intrinsic string manipulation types · Issue #44268 · microsoft/TypeScript

X Title: String case change methods should return intrinsic string manipulation types · Issue #44268 · microsoft/TypeScript

Description: lib Update Request Configuration Check My compilation target is ES2018 and my lib is ["ES2016", "dom"]. Missing / Incorrect Imprecise Definitions At least toUpperCase and toLowerCase methods on String, maybe/probably also the Locale vers...

Open Graph Description: lib Update Request Configuration Check My compilation target is ES2018 and my lib is ["ES2016", "dom"]. Missing / Incorrect Imprecise Definitions At least toUpperCase and toLowerCase methods on Str...

X Description: lib Update Request Configuration Check My compilation target is ES2018 and my lib is ["ES2016", "dom"]. Missing / Incorrect Imprecise Definitions At least toUpperCase and toLowe...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/44268

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"String case change methods should return intrinsic string manipulation types","articleBody":"# lib Update Request\r\n\r\n## Configuration Check\r\n\r\nMy compilation *target* is `ES2018` and my *lib* is `[\"ES2016\", \"dom\"]`.\r\n\r\n## ~~Missing / Incorrect~~ Imprecise Definitions\r\n\r\nAt least `toUpperCase` and `toLowerCase` methods on `String`, maybe/probably also the `Locale` versions?\r\n\r\n## Sample Code\r\n\r\n````ts\r\ntype LittleT = \"t\" | \"tt\";\r\ntype BigT = Uppercase\u003cLittleT>;\r\ndeclare const smol: LittleT;\r\nconst big: BigT = smol.toUpperCase(); // err, string is not assignable to \"T\" | \"TT\r\n````\r\n\r\n## Documentation Link\r\n\r\nhttps://tc39.es/ecma262/#sec-string.prototype.tolowercase\r\n\r\n\r\n## Note\r\n\r\nI'm not sure about the `Locale` versions of these methods because I don't know what algorithm the \"intrinsic\" `Uppercase\u003cT>` / `Lowercase\u003cT>` helper types are required to follow.  (Do we need separate `LocaleUppercase` / `LocaleLowercase` helpers?)\r\n\r\nAlso worth mentioning: I think what I'm looking for is a return type of e.g. `Uppercase\u003cthis>`, which shouldn't have an impact on non-literal string types because `Uppercase\u003cstring>` is just `string`.","author":{"url":"https://github.com/thw0rted","@type":"Person","name":"thw0rted"},"datePublished":"2021-05-26T12:53:43Z","url":"https://github.com/microsoft/TypeScript/issues/44268"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c8fcdaad-5408-4a4e-5283-c5b2710f9111
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB76C:21AC3F:2D6E065:397ED68:6B019BAF
html-safe-nonce9054ce1e90e32929f939137de9c4e85cd9b19fe5c6a532d2eb239a97f33ee42f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzZDOjIxQUMzRjoyRDZFMDY1OjM5N0VENjg6NkIwMTlCQUYiLCJ2aXNpdG9yX2lkIjoiMTcwMjIzMDU5MTEyOTI2MTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac37e1c84a6d1c90324e261625d9d7f04672ea1032a891673eee92f01a5db447b4
hovercard-subject-tagissue:902347176
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/44268/issue_layout
twitter:imagehttps://opengraph.githubassets.com/975fe1723a19812fe10d42471c562325c2b35ec2708b0faaecf619904b520d81/microsoft/TypeScript/issues/44268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/975fe1723a19812fe10d42471c562325c2b35ec2708b0faaecf619904b520d81/microsoft/TypeScript/issues/44268
og:image:altlib Update Request Configuration Check My compilation target is ES2018 and my lib is ["ES2016", "dom"]. Missing / Incorrect Imprecise Definitions At least toUpperCase and toLowerCase methods on Str...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamethw0rted
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/44268#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F44268
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F44268
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/44268
Reloadhttps://github.com/microsoft/TypeScript/issues/44268
Reloadhttps://github.com/microsoft/TypeScript/issues/44268
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44268
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44268
String case change methods should return intrinsic string manipulation typeshttps://github.com/microsoft/TypeScript/issues/44268#top
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/thw0rted
James Bromwell (thw0rted)https://github.com/thw0rted
on May 26, 2021https://github.com/microsoft/TypeScript/issues/44268#issue-902347176
https://tc39.es/ecma262/#sec-string.prototype.tolowercasehttps://tc39.es/ecma262/#sec-string.prototype.tolowercase
Nexthttps://github.com/microsoft/TypeScript/issues/44268?timeline_page=1
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on May 27, 2021https://github.com/microsoft/TypeScript/issues/44268#event-4807850391
https://github.com/Nixinova
Nixinovahttps://github.com/Nixinova
on Jul 23, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-885886245
https://github.com/kohlmannj
Joseph Kohlmann (kohlmannj)https://github.com/kohlmannj
on Aug 22, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-903311133
https://github.com/Nixinova
Nixinovahttps://github.com/Nixinova
on Sep 3, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-912808728
https://github.com/thw0rted
James Bromwell (thw0rted)https://github.com/thw0rted
on Sep 6, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-913488774
Nixinovahttps://github.com/Nixinova
https://github.com/DetachHead
DetachHeadhttps://github.com/DetachHead
on Oct 15, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-943860077
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
on Oct 15, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-944037476
https://github.com/thw0rted
James Bromwell (thw0rted)https://github.com/thw0rted
on Oct 15, 2021https://github.com/microsoft/TypeScript/issues/44268#issuecomment-944117904
Klaus Meinhardt (@ajafff)https://github.com/ajafff
plugging my example into Playgroundhttps://www.typescriptlang.org/play#code/KYDwDg9gTgLgBAbwL4G4CwAoTATYBjAGwEMpg4BzAiAIyIMUzjgEsA7GYKAMyLzIGUYUNuQYYmTGBACqYMJwDCRAM7AAPABU4oDq2zK4yoSIB8AChgALZsoBccDQEp7s+VDwr1Gk+nFwkmAFYGDAAnvJwADLMMDAEwFoAvHAARDApcAA+qbEpvmERAELM5ElwrpweqmrRsfHevriEJGR4EKxGhgC2EAT2tXEJvm0d8NQl9sWlcMnKPQQAdFIVUEqqZo4ocAD023AA6tAA1soAhJhAA
https://github.com/bfaulk96
Brandon Faulkner (bfaulk96)https://github.com/bfaulk96
on Mar 11, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1064778306
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Mar 11, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1064790558
https://github.com/thw0rted
James Bromwell (thw0rted)https://github.com/thw0rted
on Mar 11, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1064938222
https://github.com/bfaulk96
Brandon Faulkner (bfaulk96)https://github.com/bfaulk96
on Mar 14, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1066925854
https://github.com/Oblosys
Martijn Schrage (Oblosys)https://github.com/Oblosys
on Mar 28, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1080598556
https://stackoverflow.com/questions/71646698/modified-template-literal-types/https://stackoverflow.com/questions/71646698/modified-template-literal-types/
https://github.com/mycarrysun
Mike Harrison (mycarrysun)https://github.com/mycarrysun
on Mar 28, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1080887348
https://github.com/ethanresnick
Ethan Resnick (ethanresnick)https://github.com/ethanresnick
on Nov 17, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1319177767
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Nov 17, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1319179538
https://github.com/bfaulk96
Brandon Faulkner (bfaulk96)https://github.com/bfaulk96
on Nov 17, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1319218177
Ethan Resnick (@ethanresnick)https://github.com/ethanresnick
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Nov 18, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1320597906
All features start at minus 100https://gist.github.com/stuartd/a100fb315f2e5ca9ed17551d8b538a60
https://github.com/ethanresnick
Ethan Resnick (ethanresnick)https://github.com/ethanresnick
on Nov 18, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1320649961
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Nov 18, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1320657437
https://github.com/ethanresnick
Ethan Resnick (ethanresnick)https://github.com/ethanresnick
on Nov 19, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1320753261
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/wbt
wbthttps://github.com/wbt
on Nov 28, 2022https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1329674982
#50548 (comment)https://github.com/microsoft/TypeScript/issues/50548#issuecomment-1329586849
https://github.com/tontonsb
Džuris (tontonsb)https://github.com/tontonsb
on Jan 14, 2023https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1382907918
https://github.com/DetachHead
DetachHeadhttps://github.com/DetachHead
on Jan 15, 2023https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1383050124
Džuris (@tontonsb)https://github.com/tontonsb
https://github.com/wbt
wbthttps://github.com/wbt
on Jan 16, 2023https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1384589358
DetachHeadhttps://github.com/DetachHead
aren't very simplehttps://jeremyhussell.blogspot.com/2017/11/falsehoods-programmers-believe-about.html#main
https://github.com/NBMSacha
Sacha Marcus (NBMSacha)https://github.com/NBMSacha
on Feb 18, 2023https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1435584415
https://github.com/Gsiete
Gabriel Poussif (Gsiete)https://github.com/Gsiete
on Jan 30, 2024https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1916534787
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jan 30, 2024https://github.com/microsoft/TypeScript/issues/44268#issuecomment-1917544655
https://github.com/Lonli-Lokli
Lonli-Loklihttps://github.com/Lonli-Lokli
on Apr 22, 2025https://github.com/microsoft/TypeScript/issues/44268#issuecomment-2822551136
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/44268
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44268
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.