René's URL Explorer Experiment


Title: Unrelated interface causes assignability to change · Issue #56099 · microsoft/TypeScript · GitHub

Open Graph Title: Unrelated interface causes assignability to change · Issue #56099 · microsoft/TypeScript

X Title: Unrelated interface causes assignability to change · Issue #56099 · microsoft/TypeScript

Description: 🔎 Search Terms 5.3 regression 🕗 Version & Regression Information This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824 ⏯ Playground Link Playground Link 💻 Code export { } interface Map extends Collection { flatMap...

Open Graph Description: 🔎 Search Terms 5.3 regression 🕗 Version & Regression Information This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824 ⏯ Playground Link Playground Link 💻 Code export { } interfac...

X Description: 🔎 Search Terms 5.3 regression 🕗 Version & Regression Information This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824 ⏯ Playground Link Playground Link 💻 Code export { } inte...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unrelated interface causes assignability to change ","articleBody":"### 🔎 Search Terms\r\n\r\n 5.3 regression \r\n\r\n### 🕗 Version & Regression Information\r\n\r\n- This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824\r\n\r\n\r\n### ⏯ Playground Link\r\n\r\n[Playground Link](https://www.typescriptlang.org/play?ts=5.3.0-dev.20230824#code/KYDwDg9gTgLgBAbzgXwFAEsB2NhQGYCGAxsHALIFgA8AagHxyg6YAmAznAMIQA2PwRGOgiZaDBKjhS4eHgRgVqNMnQAUASgBc5SrRUBuVGgzZchEl179Bw0fUSTpANwI8ArsG019cAPS+4NjAoLABrfkCIAFtSIggXEIJMEkcpKMptRTFDaTg45PkNbW4+ASERKjdMUMwIAHdMOhzpWXlFIstSmwr6ZqlWhV1lNS1O63K7AyNUVH9LKJjsOAg3eCSWOHR4OuhQjh50UNIsOABWADoAJhMcfGJSAGlgAE9gDaZgVg4S8dsqTDcUQARrhxKk8iIiIVRk9XixDMYYM8wKQAEpwAC8OmomGATlBjBAzHYYzKfyweFwcHsAH5qXBtAAiAByAHlGYZUPk2PAoJi4AC+ABCOAEDiowzc+AwJlsxn8qCc1BAA)\r\n\r\n### 💻 Code\r\n\r\n```ts\r\nexport { }\r\ninterface Map\u003cV> extends Collection\u003cV> {\r\n    flatMap\u003cVM>(): Map\u003cVM>;\r\n}\r\n\r\ninterface Collection\u003cV> {\r\n    value: V; // sprinkle some covariance\r\n    map: Map\u003cV>;\r\n    concat(): Collection\u003cunknown>;\r\n    flatMap(): Collection\u003cV>;\r\n    flatMap\u003cVM>(): Collection\u003cVM>;\r\n}\r\n\r\n// Comment out and it works like in 5.2\r\ninterface Keyed extends Collection\u003cnumber> {\r\n    concat(): Keyed;\r\n}\r\n\r\ntype R = Map\u003cnever> extends Collection\u003cinfer V> ? V : \"NO\";\r\n\r\nconst r = null! as R;\r\nconst t: \"NO\" = r;\r\n```\r\n\r\n\r\n### 🙁 Actual behavior\r\n\r\nR is `unknown`. Removing `Keyed` makes `R` `\"NO\"`, even though `Keyed` is unused otherwise. \r\n\r\n### 🙂 Expected behavior\r\n\r\nNot really sure. I'd settle for the stable 5.2 behavior, which is for `R` to be `\"NO\"` although that also seems wrong (Why doesn't `Map\u003cnever> extends Collection`? If we remove `flatMap(): Collection\u003cV>` from `Collection` then `Map\u003cnever>` extends `Collection`. This seems like the correct behavior.)\r\n\r\n### Additional information about the issue\r\n\r\n_No response_","author":{"url":"https://github.com/dragomirtitian","@type":"Person","name":"dragomirtitian"},"datePublished":"2023-10-13T16:31:20Z","url":"https://github.com/microsoft/TypeScript/issues/56099"}

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:6f978e31-63a9-f9e2-ebb5-eec1717415bf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9D12:8196C:A47EF7:DB9477:6B00E9DB
html-safe-nonce96d9627b851e748236472612847991f195b43d79dd93196b47ba58d44c2ab2cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDEyOjgxOTZDOkE0N0VGNzpEQjk0Nzc6NkIwMEU5REIiLCJ2aXNpdG9yX2lkIjoiNTUwNTEyMDM3MTE5NzY2NzgwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfc2a621af6134719239ace02e9e2c0589b766c2202d4256af065af7ba6b90028
hovercard-subject-tagissue:1942257310
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/56099/issue_layout
twitter:imagehttps://opengraph.githubassets.com/494ad70e902880d5fadf31d5ea3f0ed478669a1515547938892e07c34f88c7a3/microsoft/TypeScript/issues/56099
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/494ad70e902880d5fadf31d5ea3f0ed478669a1515547938892e07c34f88c7a3/microsoft/TypeScript/issues/56099
og:image:alt🔎 Search Terms 5.3 regression 🕗 Version & Regression Information This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824 ⏯ Playground Link Playground Link 💻 Code export { } interfac...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedragomirtitian
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/56099#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F56099
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%2F56099
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/56099
Reloadhttps://github.com/microsoft/TypeScript/issues/56099
Reloadhttps://github.com/microsoft/TypeScript/issues/56099
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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/56099
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/56099
Unrelated interface causes assignability to change https://github.com/microsoft/TypeScript/issues/56099#top
https://github.com/ahejlsberg
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
https://github.com/dragomirtitian
Titian Cernicova-Dragomir (dragomirtitian)https://github.com/dragomirtitian
on Oct 13, 2023https://github.com/microsoft/TypeScript/issues/56099#issue-1942257310
Playground Linkhttps://www.typescriptlang.org/play?ts=5.3.0-dev.20230824#code/KYDwDg9gTgLgBAbzgXwFAEsB2NhQGYCGAxsHALIFgA8AagHxyg6YAmAznAMIQA2PwRGOgiZaDBKjhS4eHgRgVqNMnQAUASgBc5SrRUBuVGgzZchEl179Bw0fUSTpANwI8ArsG019cAPS+4NjAoLABrfkCIAFtSIggXEIJMEkcpKMptRTFDaTg45PkNbW4+ASERKjdMUMwIAHdMOhzpWXlFIstSmwr6ZqlWhV1lNS1O63K7AyNUVH9LKJjsOAg3eCSWOHR4OuhQjh50UNIsOABWADoAJhMcfGJSAGlgAE9gDaZgVg4S8dsqTDcUQARrhxKk8iIiIVRk9XixDMYYM8wKQAEpwAC8OmomGATlBjBAzHYYzKfyweFwcHsAH5qXBtAAiAByAHlGYZUPk2PAoJi4AC+ABCOAEDiowzc+AwJlsxn8qCc1BAA
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Oct 13, 2023https://github.com/microsoft/TypeScript/issues/56099#issuecomment-1762330631
#53396https://github.com/microsoft/TypeScript/pull/53396
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Oct 16, 2023https://github.com/microsoft/TypeScript/issues/56099#event-10669572120
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Oct 16, 2023https://github.com/microsoft/TypeScript/issues/56099#event-10669572967
Titian Cernicova-Dragomir (dragomirtitian)https://github.com/dragomirtitian
on Oct 17, 2023https://github.com/microsoft/TypeScript/issues/56099#event-10676804826
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Oct 17, 2023https://github.com/microsoft/TypeScript/issues/56099#issuecomment-1766397488
#53396https://github.com/microsoft/TypeScript/pull/53396
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/56099
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/56099
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%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.