René's URL Explorer Experiment


Title: Design Meeting Notes, 2026-09-01 · Issue #64129 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 2026-09-01 · Issue #64129 · microsoft/TypeScript

X Title: Design Meeting Notes, 2026-09-01 · Issue #64129 · microsoft/TypeScript

Description: Conditional Distributions Allow Constraint Violation #63708 type Issue = A extends unknown ? B extends unknown ? Show : never : never; type Show = [A, B] & {}; type X = Issue<0 | 1, 0 | 1>; // ^? The problem i...

Open Graph Description: Conditional Distributions Allow Constraint Violation #63708 type Issue = A extends unknown ? B extends unknown ? Show : never : never; type Show = [A, B] & {}; type X = ...

X Description: Conditional Distributions Allow Constraint Violation #63708 type Issue<A, B extends A> = A extends unknown ? B extends unknown ? Show<A, B> : never : never; type Show<A, B> = [A, ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2026-09-01","articleBody":"# Conditional Distributions Allow Constraint Violation\n\nhttps://github.com/microsoft/TypeScript/issues/63708\n\n```ts\ntype Issue\u003cA, B extends A> =\n    A extends unknown ?\n        B extends unknown ?\n            Show\u003cA, B> :\n        never :\n    never;\n\ntype Show\u003cA, B> = [A, B] & {};\n\ntype X = Issue\u003c0 | 1, 0 | 1>;\n//   ^?\n```\n\n* The problem is that when we distribute on `A` and `B`, then we should create a new type parameter for each one with an identical name.\n* So we are prototyping this.\n* This is a little complicated by the fact that this now also becomes a declaration site rather than just a usage.\n    * We would need to introduce something in the binder for this.\n    * So that would say \"this is a distribution site with a new type variable\".\n* But that would have broader implications beyond just type variables on the left side of `extends`.\n* Doing something like this would changing the semantics of type distribution because we'd now operate over any identifier-named type.\n\n  ```ts\n  // TODO\n  ```\n* When explaining to others, we've explained this as \"there's a new type variable that is created for distribution\", so surprised it didn't work this way.\n    * Really there's a mix of substitution types and other instantiation mechanics at play here.\n* Do we need substitution types?\n    * Yes. You need \"learned information\"/\"conditional narrowing\" to be tracked along to satisfy other constraints in true branches.\n    * Wait really? Why can't `T extends number` become `T' extends T & number`?\n* How does this work over type references that alias bare identifiers\n\n  ```ts\n  type Foo\u003cT> = T;\n  \n  type Blah\u003cT> = Foo\u003cT> extends any ? { b: Foo\u003cT> } : undefined;\n  \n  type What = Blah\u003c1 | 0>;\n  ```\n    * Today, this *does* distribute; it no longer would with the suggested change...\n    * Oh... that's probably very breaky!\n    * Who does this?\n        * Someone, guaranteed.\n* Feels like people should at least have a way to distribute explicitly since we might be changing things here?\n* You are binding a new type parameter at the top; there's no reason you couldn't other than efficiency.\n    * No - we use substitution types to track learned information and conditional narrowing.\n    * There are differences in type comparisons when you have substitution types, and they differ in how they act on type comparisons.\n    * So while they feel similar, type parameters with added constraints are treated differently in practice.\n    * `T'' extends T' & (1 | 2) extends T & number` isn't reasoned about quite the same as `T'' & (1 | 2) & number`.\n* Why don't we just introduce syntax to avoid breaking people?\n    * The problem is that we are trying to fix a soundness hole and we want that to be fixed by default.\n* Prototype will tell us what breaks in top 999.\n\n# API Bikeshed\n\n```ts\nimport { version, versionMajorMinor } from \"typescript\";\nimport * as ts from \"typescript/async\"; // or sync\nimport * as ast from \"typescript/ast\";\n```\n\n* Currently there's a bunch of subpath exports in the `typescript` package.\n    * `ast`\n    * `factory`\n    * `is`\n    * ...\n* As we prototyped replacements with the new API, we noticed old API usage was annoying to go through different imports.\n    * Feedback from early API users is that it's less overwhelming than having one import with everything.\n* One of the things we don't like with the \"siloing\" is that it kind of draws boundaries that we might be fixing ourselves into.\n    * Can't really have a single barrel given the sync/async split.\n    * If you want a single barrel, you can do it yourself!\n\n      ```ts\n      // ./src/typescript.ts\n\n      // Single barrel export for convenience\n      export * from \"typescript\";\n      export * from \"typescript/ast\";\n      export * from \"typescript/async\";\n      ```\n\n      ```json5\n      // package.json\n      {\n          // ...\n          \"imports\": {\n              \"#ts\": \"./dist/typescript.js\"\n          }\n      }\n      ```\n\n      ```ts\n      // Other usage\n      import * as ts from \"#ts\";\n      ```\n* What about identical types imported through different paths?\n    * e.g. `ModuleKind` comes from both `\"typescript\"` and `\"typescript/async\"`.\n    * What do people want from this?\n* Do the names overlap between sync/async modules?\n    * Yes, they have identical names.\n    * It'd be annoying if they all had an `Async` postifx.\n* Could we just simplify this all into `typescript/async` and `typescript/sync`, and re-export common stuff from both?\n    * What do you do if you have a function that acts only on the common stuff?\n    * Any AST walker.\n* Aside: do we have `forEachChildAsync`?\n    * Currently a problem because `forEachChild` short-circuits on truthy results. `Promise`s are always truthy, so a walk always exits early.\n* If we had the FIFO prototype resurrected (come back to this @JakeBailey?), would people even want async because the context switching is so high?\n    * Async is just painful\n    * But it's the only way to *easily* do things concurrently.\n    * Wonder how easy it is to use workers and just use the sync layer.\n* Out of time - really need to build some prototypes and get feedback from others.\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2026-09-01T22:14:48Z","url":"https://github.com/microsoft/TypeScript/issues/64129"}

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:9b766339-23e4-0e8e-bdb0-e9a9bec8deb8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA5F6:27D3AD:BA2271:EDA282:6B00F969
html-safe-nonce1e325a9a7224c0b84d371bef62ea7a4997965dbb3cac46938d3a8382fb9866d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUY2OjI3RDNBRDpCQTIyNzE6RURBMjgyOjZCMDBGOTY5IiwidmlzaXRvcl9pZCI6IjQ2OTUwMjc2MTQzMzM1OTgwNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1a005a434a8f42aa6a62e82691c4cc23c9160b84af625131592bec30ad1ecac8
hovercard-subject-tagissue:5317370775
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/64129/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bb61587fa4210a1947e7337033c30a9b983dabca7e3385b179d8be2636f374ac/microsoft/TypeScript/issues/64129
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb61587fa4210a1947e7337033c30a9b983dabca7e3385b179d8be2636f374ac/microsoft/TypeScript/issues/64129
og:image:altConditional Distributions Allow Constraint Violation #63708 type Issue = A extends unknown ? B extends unknown ? Show : never : never; type Show = [A, B] & {}; type X = ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielRosenwasser
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/64129#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F64129
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%2F64129
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/64129
Reloadhttps://github.com/microsoft/TypeScript/issues/64129
Reloadhttps://github.com/microsoft/TypeScript/issues/64129
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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/64129
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/64129
Design Meeting Notes, 2026-09-01https://github.com/microsoft/TypeScript/issues/64129#top
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Sep 1, 2026https://github.com/microsoft/TypeScript/issues/64129#issue-5317370775
#63708https://github.com/microsoft/TypeScript/issues/63708
Jake Bailey (@jakebailey)https://github.com/jakebailey
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
on Sep 1, 2026https://github.com/microsoft/TypeScript/issues/64129#event-30377523829
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/64129
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/64129
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%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.