René's URL Explorer Experiment


Title: Design Meeting Notes, 2/1/2023 · Issue #52579 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 2/1/2023 · Issue #52579 · microsoft/TypeScript

X Title: Design Meeting Notes, 2/1/2023 · Issue #52579 · microsoft/TypeScript

Description: Intersection state #52392 Unifies the interaction of excess property checking and weak types Key logic is in structuredTypeRelatedTo, dealing with properties which are nested in the intersection, e.g. { a: { x: string } } & { c: number }...

Open Graph Description: Intersection state #52392 Unifies the interaction of excess property checking and weak types Key logic is in structuredTypeRelatedTo, dealing with properties which are nested in the intersection, e...

X Description: Intersection state #52392 Unifies the interaction of excess property checking and weak types Key logic is in structuredTypeRelatedTo, dealing with properties which are nested in the intersection, e...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2/1/2023","articleBody":" * Intersection state #52392\r\n   * Unifies the interaction of excess property checking and weak types\r\n   * Key logic is in `structuredTypeRelatedTo`, dealing with properties which are nested in the intersection, e.g.\r\n     * `{ a: { x: string } } & { c: number }` , we need to deal with both the intersection type and its final form\r\n     * Contrast with something like `{ a: { x: string } } & { a: { y: number } }` - a contextual-agnostic analyis can't handle this correctly\r\n     * Interacts with `isDeeplyNestedType`, which exists to prevent runaway stackoverflows in generatively-recursive types\r\n       * The \"identity key\" here is, for example, the `symbol` of a declared type\r\n       * For intersections, no such durable/reusable identity key existed\r\n       * This meant we couldn't safely plumb to more than a fixed depth (1) of intersections when looking for excess properties\r\n     * Fix: Instead, an intersection is deeply nested if any of its constituents is deeply nested\r\n       * Now we don't need a fixed depth limit\r\n     * Fix is good, everything's passing\r\n     * Check time for `vuelidate` on DT has doubled, but really only because we're doing work we should have been doing the whole time\r\n     * 5.0 or 5.1?\r\n       * It's a bugfix, standard level of riskiness, 5.0.\r\n * Widening/nonwidening enum literals #52542\r\n   * In 5.0 we unified `enum` logic, yay\r\n   * Consider `enum E { A = 1, B = 2, C = 3}`\r\n     * Type `E` is a union, `E.A | E.B | E.C`\r\n   * Contrast `enum X { A = compute(0), B = compute(1), C = compute(2) }`\r\n     * Old behavior: type `X` is just `X`, a subtype of `number`\r\n     * New behavior: type `X` is a union of `X.A | X.B | X.C`, pretty much the same as `E`, each of which is an opaque subtype of number\r\n   * All motivating scenarios that led to fresh/nonfresh widening/nonwidening literal types for string/numeric literals now apply to these opaque (nonliteral) types\r\n   * e.g. `let a = E.A;`, `a = E.B;` should be legal\r\n   * Declaration file emit allows for initializers so that you can get both behaviors despite the fresh and nonfresh types having identical names\r\n   * 👉 5.0\r\n * `export` ordering (TC39 update)\r\n   * Order 1: `@decorator export class X {`\r\n   * Order 2: `export @decorator class X {`\r\n   * Order 1 is the longstanding order in TS\r\n   * Order 2 came into existence due to a transcription error when writing the proposal\r\n   * Upon fixing the error, concerns were raised\r\n     * What if you want to \"decorate an export\" ?\r\n       * What does this mean?\r\n         * Sort of unclear, all possible things you could do here violate critical static invariants\r\n     * Various *arguments ad linguistics* of what's an adverb, adjective, conjunction junction what's your arrow function, etc.\r\n     * What if you want to have different behaviors between Order 1 and Order 2?\r\n       * But *what*?\r\n       * At best, you could have the inner and outer names of a class refer to the undecorated / decorated values, but this is a footgun\r\n         * *If desired* you can use proxies\r\n       * If this is legal, then `@deco1 export @deco2 class A {` becomes legal and sensical (!)\r\n   * TC39 Discussion continued for a long time without progress\r\n   * Decorators went to stage 3 without this being addressed\r\n   * Today\r\n     * `export @decorator class` is legal per TC39\r\n     * In 5.0 today:\r\n       * In TS files, both orderings are supported with identical semantics\r\n       * In JS files, only `export @decorator class` is supported under non-experimental-decorators\r\n   * This has implications for `Function#toString` since decorators are supposed to be part of `toString` but not `export`\r\n     * Arguments about `eval(someClass.toString())` but this is not an existing invariant anyway (?)\r\n   * Do we need a transitional flag?\r\n   * Quickfix? Tool? Regular expression?\r\n     * These tools don't work on documentation on the internet\r\n       * This is an argument for making the proposal change, not making the behavior available in TS when it doesn't actually exist\r\n   * What are other transpilers doing?\r\n     * If we allow this (illegal!) syntax, then every TS-compatible transpiler has to as well, and it's a de facto JS feature\r\n     * But it's effectively moot since (all?) transpilers already presumably support `experimentalDecorators`\r\n     * Babel issues a specific error\r\n   * Conclusions:\r\n     * Hope that both-orderings proposal goes through at TC39 and we don't have to make a tough decision\r\n     * Otherwise, circle back and argue about allowing flagged, unflagged, or not at all\r\n   * **Update 2/2/23**: Most of this turned out to be moot because both orderings were accepted at TC39 today 🎉\r\n","author":{"url":"https://github.com/RyanCavanaugh","@type":"Person","name":"RyanCavanaugh"},"datePublished":"2023-02-02T22:13:10Z","url":"https://github.com/microsoft/TypeScript/issues/52579"}

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:14f4cb10-4257-31a9-31d3-f7c725847a0c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA48E:34CAB:256762F:2FCDDD3:6B019732
html-safe-nonce111fcc22fcf15eaacbdad3197c666e8b3965f859a516d628d7b98322832d7f9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDhFOjM0Q0FCOjI1Njc2MkY6MkZDREREMzo2QjAxOTczMiIsInZpc2l0b3JfaWQiOiI4MDk4MDA2MTIwNzk2MzYyNTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4ee94534e6691a0eb736fc7fa3eb1d9b14ffcbc2024e6266f7a2abd7e00be620
hovercard-subject-tagissue:1568863099
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/52579/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8eef585a1f96846b80054e4d1a1aed009e87f137eb10479ab6e5577a341016d2/microsoft/TypeScript/issues/52579
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8eef585a1f96846b80054e4d1a1aed009e87f137eb10479ab6e5577a341016d2/microsoft/TypeScript/issues/52579
og:image:altIntersection state #52392 Unifies the interaction of excess property checking and weak types Key logic is in structuredTypeRelatedTo, dealing with properties which are nested in the intersection, e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRyanCavanaugh
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/52579#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F52579
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%2F52579
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/52579
Reloadhttps://github.com/microsoft/TypeScript/issues/52579
Reloadhttps://github.com/microsoft/TypeScript/issues/52579
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/52579
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/52579
Design Meeting Notes, 2/1/2023https://github.com/microsoft/TypeScript/issues/52579#top
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 2, 2023https://github.com/microsoft/TypeScript/issues/52579#issue-1568863099
Consistently propagate intersectionState in relations #52392https://github.com/microsoft/TypeScript/pull/52392
Widening and non-widening computed enum types #52542https://github.com/microsoft/TypeScript/pull/52542
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
on Feb 2, 2023https://github.com/microsoft/TypeScript/issues/52579#event-8426025046
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 2, 2023https://github.com/microsoft/TypeScript/issues/52579#event-8426036627
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
on Feb 2, 2023https://github.com/microsoft/TypeScript/issues/52579#issuecomment-1414501206
https://github.com/Jack-Works
Jack Works (Jack-Works)https://github.com/Jack-Works
on Feb 6, 2023https://github.com/microsoft/TypeScript/issues/52579#issuecomment-1418313750
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 17, 2023https://github.com/microsoft/TypeScript/issues/52579#event-8780507167
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/52579
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/52579
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.