René's URL Explorer Experiment


Title: Bloomberg feedback for 5.4 Beta · Issue #57464 · microsoft/TypeScript · GitHub

Open Graph Title: Bloomberg feedback for 5.4 Beta · Issue #57464 · microsoft/TypeScript

X Title: Bloomberg feedback for 5.4 Beta · Issue #57464 · microsoft/TypeScript

Description: Acknowledgement I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. Comment by Ashley Claymore (@acutmore), Michael Molisani (@molisani), Titian Cernicova-Dragomir (@dra...

Open Graph Description: Acknowledgement I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. Comment by Ashley Claymore (@acutmore), Michael Molisani (@mo...

X Description: Acknowledgement I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. Comment by Ashley Claymore (@acutmore), Michael Molisani ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bloomberg feedback for 5.4 Beta","articleBody":"### Acknowledgement\n\n- [X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.\n\n### Comment\n\nby @acutmore, @molisani, @dragomirtitian \r\n\r\nWe have completed our evaluation of the impact of upgrading to TypeScript 5.4 on our codebase. Here are our findings.\r\n\r\nThis is shaping up to be a medium impact release. The following table lists changes that affected our codebase, and where appropriate a link to a separate Issue:\r\n\r\n🟢 = positive breaking change\r\n🔴 = negative breaking change\r\n🐛 = compiler bug\r\n\r\n\r\n\r\n| Change                                                                 | Affects       | Release notes | Packages affected           | Reported as |\r\n| ---------------------------------------------------------------------- | ------------- | ------------- | --------------------------- | ----------- |\r\n| [More Accurate Conditional Type Constraints (with optional property)](#user-content-bb-item-1) 🟢  | Type Checking | Yes           | ~95% (transitive)(3 direct) |             |\r\n| Preserved Narrowing in Closures Following Last Assignments 🟢          | Type Checking | Yes           | 2                           |             |\r\n| Errors When Type-Only Imports Conflict with Local Values 🟢            | Type Checking | Yes           | 2                           |             |\r\n| `...any[]` becoming `...unknown[]`  🐛                                 | Type Checking |               | 2                           | #57389      |\r\n| New circular type alias error 🐛                                       | Type Checking |               | 1                           | #57357      |\r\n| `instanceof` type narrowing change due to `.prototype` inference 🟢    | Type Checking |               | 1                           | #57397      |\r\n| [Interface merging no longer masking wider return type](#user-content-bb-item-2) 🟢               | Type Checking |               | 1                           | n/a         |\r\n| [Inline type import not utilizing existing import](#user-content-bb-item-3) 🔴                    | .d.ts emit    |               | 8                           | #57415      |\r\n\r\n\u003ch2 id=\"bb-item-1\">More Accurate Conditional Type Constraints (with optional property)\u003c/h2>\r\n\r\nComes from: #56004\r\n\r\n[Playground](https://www.typescriptlang.org/play?ts=5.4.0-dev.20231121#code/FAFwngDgpgBAwgewHYDMCWBzA8igPAFQEYA+GAXhiJigA8QokATAZxgG9gYuYBjZdDAC4YaVFABOlAEwwA9ACpqdBi3YBfGPNkBuYBoD80mMLZrdoSLACyAQwiJUmAkvpNWAJSh9xjXMxDiohgANDAIAEYAVl4gxKQU+Oa0EAjiIDDg0PD8mOQwnt6+-oFIITA2SGDEusmp6ZmwAAriCNE86RRsvDkY+sIOAjBmwMC1aRmWMADiUCAAyrMArhC4jS4qrM2tMfHsnNx8jkIwtvY9uAOYOKtx2nKyMLgAtDBIUADu1OItkqIwAKwAOgALICAAxPRhQABugKkYKkAGZCIQpIQ9MAgA)\r\n\r\nThis impacted most of our packages because it caused a new error in core packages that almost everything else depends on, and we don't `skipLibChecks`.\r\n\r\nLooking at the error it is correctly identifying that the type may not be valid when instantiated, so is a good error. We have since improved these types to have a more accurate constraint.\r\n\r\nSide-note: This particular pattern only errors when `exactOptionalPropertyTypes` is disabled (we keep this as the default).\r\n\r\n\u003ch2 id=\"bb-item-2\">Interface merging no longer masking wider return type\u003c/h2>\r\n\r\nBisects to: #55447\r\n\r\nThis bug fix impacted one package. This error _does_ also appear in TS 5.3 if the order of a union is changed - so 5.4 is now more reliably catching this regardless of union order.\r\n\r\n[Playground](https://www.typescriptlang.org/play?target=99&ts=5.4.0-beta#code/CYUwxgNghgTiAEkoGdnwMoE8B2YCSAtgA4QA8AKgHzwDeAUPI9iAB4AuAFAJQBc8ebEDChsA9jABKIZAFcIbCpQDcdAL506AS2yCYAMyhgEAQWQ58xMlVoMmrTgDcoEGSAD8fKNky94ABRhRAk1kEFIBIRFxKVl5RWU1DVAkOERoVHhTc0ISRRtGeGZ2bj4AoJCwr0wE9TokDIB1YSIiITz6AuToVM1LPixcHKtqAB9Ms0HLRSV4AHpZ+FIAWnhkAHcoIng2AAsEGWxNUWx4cVAYeC9gbb34IUCLzdbYNG14AFYAOgBmW0L7bj5AqMOBsGQwE67EKfXokT5FThcFQFdS1FDmeB6A5gNhHE4IxQcNZ8JpPNpULhA+AQEBseAwPgRYRiSTSOQKaxjbByCDwAC8hR5yMYfzWO00NPgHAAhBwLgKoBtNHS1vCAVwuJ9gMcQJSOsD6Z8nC4EPNFksVsw1ncYA94G8vgAWT4ABiWACNaVA-qi6EA)\r\n\r\n\u003ch2 id=\"bb-item-3\">Inline type import not utilizing existing import\u003c/h2>\r\n\r\nBisects to: #56857\r\n\r\nThis negatively impacted 8 packages. In some cases TypeScript is no longer utilizing existing `import` statements for declaration emit, and instead adding new inline type imports. This triggers an error in our build pipeline where we assert that `.d.ts` imports only resolve to a package's public entrypoints.\r\n","author":{"url":"https://github.com/acutmore","@type":"Person","name":"acutmore"},"datePublished":"2024-02-21T16:21:55Z","url":"https://github.com/microsoft/TypeScript/issues/57464"}

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:2432573a-5d04-8308-7cd1-1434304b38d6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8920:181E33:96B9EA:CAB961:6B04D9DC
html-safe-nonce428f65553787ff7565a1711158f98356d09f16171d60cb79a187d30b22e1b5e3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTIwOjE4MUUzMzo5NkI5RUE6Q0FCOTYxOjZCMDREOURDIiwidmlzaXRvcl9pZCI6Ijc4NDIyOTUxMzU3NTA2MTk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac904acda8a714f331437faa73673f079d64eddb75ef5cbbcaa50d1af6083849b7
hovercard-subject-tagissue:2147175029
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/57464/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a32c381d0cc78329461b0d3f6ae1fb9a3841ec3ccf8f02c407da09e9d6b982d7/microsoft/TypeScript/issues/57464
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a32c381d0cc78329461b0d3f6ae1fb9a3841ec3ccf8f02c407da09e9d6b982d7/microsoft/TypeScript/issues/57464
og:image:altAcknowledgement I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion. Comment by Ashley Claymore (@acutmore), Michael Molisani (@mo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameacutmore
hostnamegithub.com
expected-hostnamegithub.com
None194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965
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
release6c35540a0a2991ee20bd053ba2601cce33f72cb1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/57464#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F57464
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%2F57464
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/57464
Reloadhttps://github.com/microsoft/TypeScript/issues/57464
Reloadhttps://github.com/microsoft/TypeScript/issues/57464
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests316 (316)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/57464
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/57464
Bloomberg feedback for 5.4 Betahttps://github.com/microsoft/TypeScript/issues/57464#top
Discussionhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%22
https://github.com/acutmore
Ashley Claymore (acutmore)https://github.com/acutmore
on Feb 21, 2024https://github.com/microsoft/TypeScript/issues/57464#issue-2147175029
Ashley Claymore (@acutmore)https://github.com/acutmore
Michael Molisani (@molisani)https://github.com/molisani
Titian Cernicova-Dragomir (@dragomirtitian)https://github.com/dragomirtitian
More Accurate Conditional Type Constraints (with optional property)https://github.com/microsoft/TypeScript/issues/57464#user-content-bb-item-1
#57389https://github.com/microsoft/TypeScript/issues/57389
#57357https://github.com/microsoft/TypeScript/issues/57357
#57397https://github.com/microsoft/TypeScript/issues/57397
Interface merging no longer masking wider return typehttps://github.com/microsoft/TypeScript/issues/57464#user-content-bb-item-2
Inline type import not utilizing existing importhttps://github.com/microsoft/TypeScript/issues/57464#user-content-bb-item-3
#57415https://github.com/microsoft/TypeScript/issues/57415
#56004https://github.com/microsoft/TypeScript/pull/56004
Playgroundhttps://www.typescriptlang.org/play?ts=5.4.0-dev.20231121#code/FAFwngDgpgBAwgewHYDMCWBzA8igPAFQEYA+GAXhiJigA8QokATAZxgG9gYuYBjZdDAC4YaVFABOlAEwwA9ACpqdBi3YBfGPNkBuYBoD80mMLZrdoSLACyAQwiJUmAkvpNWAJSh9xjXMxDiohgANDAIAEYAVl4gxKQU+Oa0EAjiIDDg0PD8mOQwnt6+-oFIITA2SGDEusmp6ZmwAAriCNE86RRsvDkY+sIOAjBmwMC1aRmWMADiUCAAyrMArhC4jS4qrM2tMfHsnNx8jkIwtvY9uAOYOKtx2nKyMLgAtDBIUADu1OItkqIwAKwAOgALICAAxPRhQABugKkYKkAGZCIQpIQ9MAgA
#55447https://github.com/microsoft/TypeScript/pull/55447
Playgroundhttps://www.typescriptlang.org/play?target=99&ts=5.4.0-beta#code/CYUwxgNghgTiAEkoGdnwMoE8B2YCSAtgA4QA8AKgHzwDeAUPI9iAB4AuAFAJQBc8ebEDChsA9jABKIZAFcIbCpQDcdAL506AS2yCYAMyhgEAQWQ58xMlVoMmrTgDcoEGSAD8fKNky94ABRhRAk1kEFIBIRFxKVl5RWU1DVAkOERoVHhTc0ISRRtGeGZ2bj4AoJCwr0wE9TokDIB1YSIiITz6AuToVM1LPixcHKtqAB9Ms0HLRSV4AHpZ+FIAWnhkAHcoIng2AAsEGWxNUWx4cVAYeC9gbb34IUCLzdbYNG14AFYAOgBmW0L7bj5AqMOBsGQwE67EKfXokT5FThcFQFdS1FDmeB6A5gNhHE4IxQcNZ8JpPNpULhA+AQEBseAwPgRYRiSTSOQKaxjbByCDwAC8hR5yMYfzWO00NPgHAAhBwLgKoBtNHS1vCAVwuJ9gMcQJSOsD6Z8nC4EPNFksVsw1ncYA94G8vgAWT4ABiWACNaVA-qi6EA
#56857https://github.com/microsoft/TypeScript/pull/56857
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Discussionhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%22
on Feb 21, 2024https://github.com/microsoft/TypeScript/issues/57464#event-11882296403
Ashley Claymore (acutmore)https://github.com/acutmore
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 23, 2024https://github.com/microsoft/TypeScript/issues/57464#event-12911049169
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/57464
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/57464
Discussionhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Discussion%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.