René's URL Explorer Experiment


Title: Design Meeting Notes, 1/11/2019 · Issue #29382 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 1/11/2019 · Issue #29382 · microsoft/TypeScript

X Title: Design Meeting Notes, 1/11/2019 · Issue #29382 · microsoft/TypeScript

Description: Readonly generalizations We've had a smattering of issues that relate to readonly. Also, we have a Readonly today. We made changes so that homomorphic mapped types (like Partial) work on tuples But there's no readonly modifier for ...

Open Graph Description: Readonly generalizations We've had a smattering of issues that relate to readonly. Also, we have a Readonly today. We made changes so that homomorphic mapped types (like Partial) work on tupl...

X Description: Readonly generalizations We've had a smattering of issues that relate to readonly. Also, we have a Readonly<T> today. We made changes so that homomorphic mapped types (like Partial<T&g...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 1/11/2019","articleBody":"# `Readonly` generalizations\r\n\r\n* We've had a smattering of issues that relate to `readonly`.\r\n* Also, we have a `Readonly\u003cT>` today.\r\n    * We made changes so that homomorphic mapped types (like `Partial\u003cT>`) work on tuples\r\n    * But there's no `readonly` modifier for tuple properties\r\n    * And `Readonly` doesn't specially treat arrays.\r\n* Proposing so that\r\n    * type system could make readonly slots in tuples\r\n    * transforms arrays to produce `ReadonlyArray`.\r\n* Could this help make `Array.isArray` work correctly for `ReadonlyArray`s?\r\n    * Maybe.\r\n* There's on little nit to it\r\n    * The fact that `Array` is not assignable to `ReadonlyArray`, but a `T` is assignable to a `Readonly\u003cT>`.\r\n    * This is not the \"end of the world\".\r\n* Concern: I don't like this because introducing what appears to be a minor inconsistency can have larger downstream effects.\r\n    * https://github.com/Microsoft/TypeScript/issues/27375\r\n    * Rationale: we already generalized `Readonly` to make things readonly-ish consistently, we should generalize this.\r\n\r\n# `readonly` expression operator\r\n\r\n* People keep running into issues where things widen because of mutability, and it bugs the hell out of them.\r\n* Ideas:\r\n    * if contextually typed by something that's readonly, you should keep around readonliness\r\n        * \"You mean `Readonly\u003cT>`, or just something with `readonly` properties?\"\r\n* Are we concerned with adding something to the expression space? Could we just have a `readonly` keyword that you contextual type, or using `as readonly` or `as const`?\r\n    * You don't always have a good contextual space.\r\n    * Definitely a concern about introducing new syntax, but trailing syntax is hard to read.\r\n    * `\u003cconst>[1, 2, 3]`\r\n        * Gross.\r\n    * `const` might be a better keyword because `readonly` is only a \"view of the world\" guarantee; *you* can't mutate, but someone else might.\r\n\r\n# Negated types\r\n\r\n* @bterlson: I'm so excited for this\r\n* @DanielRosenwasser: I feel a bit more negative about them.\r\n\r\n* @weswigham: many of my bugs correspond to people trying to express things with strange conditional types.\r\n    * What people often want is to remove things from the domain.\r\n\r\n* @rbuckton: Can I make a not-not joke?\r\n\r\n* Type relationships\r\n    * `not` is related contravariantly on its contained type.\r\n        * `not T` ≤ `not U` if `U` ≤ `T`\r\n    * `S` ≤ `not T` if `S & T` = `never`.\r\n    * Deferred (i.e. non-simplified) negated types never imply any relation with other types (i.e. `not T` ≰ `U`).\r\n* Interesting topics\r\n    * Interplay with narrowing\r\n        * When you narrow *out* `number` from a generic type `T`, should we intersect with `not number`? (i.e. should you get `T & not number`)?\r\n        * Could we replace conditional types in #22348 with negated types? They would compose.\r\n            * Sort of, except for the fake mechanism for tagging types.\r\n            * We've let people abuse intersection types with vacuous domains.\r\n            * Okay, imagine this\r\n                * `Stringy\u003cT>` = `T & string`\r\n                * `NonNullable\u003cT>` = `T & not null & not undefined`\r\n                * `Truthy\u003cT>` = `T & not (0 | \"\" | false | undefined | null)`\r\n            * With `let x: { a: number } | string`, narrowing with `typeof x === \"string\"` you'd end up with `string & { a: number }`.\r\n            * What if you had a way to say that some of these object types *never* can overlap with another primitive.\r\n    * Interplay with mapped types?\r\n\r\nOut of time","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2019-01-11T21:37:32Z","url":"https://github.com/microsoft/TypeScript/issues/29382"}

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:2fff07f0-b213-9839-dfc1-aaad38733ce3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD78E:28815B:DA7EAD:1245BC3:6B010267
html-safe-nonce47b54a1e60785ae3ac44a71e78854fdfc991210cb9864b13c3876c1a492f9e50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzhFOjI4ODE1QjpEQTdFQUQ6MTI0NUJDMzo2QjAxMDI2NyIsInZpc2l0b3JfaWQiOiI1OTY5ODcyMzY5OTExNjYxMTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac54ad6a2ba9827483c1e82d9d4860ddb0b1ae50bd5f8cb5b0cf5be570e9b5f1ca
hovercard-subject-tagissue:398460920
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/29382/issue_layout
twitter:imagehttps://opengraph.githubassets.com/464414a7023b424646d57fc82cb376d125852ee213f102577bf7c62dc39cc8f9/microsoft/TypeScript/issues/29382
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/464414a7023b424646d57fc82cb376d125852ee213f102577bf7c62dc39cc8f9/microsoft/TypeScript/issues/29382
og:image:altReadonly generalizations We've had a smattering of issues that relate to readonly. Also, we have a Readonly today. We made changes so that homomorphic mapped types (like Partial) work on tupl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielRosenwasser
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/29382#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F29382
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%2F29382
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/29382
Reloadhttps://github.com/microsoft/TypeScript/issues/29382
Reloadhttps://github.com/microsoft/TypeScript/issues/29382
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/29382
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29382
Design Meeting Notes, 1/11/2019https://github.com/microsoft/TypeScript/issues/29382#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 Jan 11, 2019https://github.com/microsoft/TypeScript/issues/29382#issue-398460920
Homomorphic mapped types can't work on arrays while using constrained helper types #27375https://github.com/microsoft/TypeScript/issues/27375
Brian Terlson (@bterlson)https://github.com/bterlson
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Wesley Wigham (@weswigham)https://github.com/weswigham
Ron Buckton (@rbuckton)https://github.com/rbuckton
Use lib conditional types for type facts if possible #22348https://github.com/microsoft/TypeScript/pull/22348
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 Jan 11, 2019https://github.com/microsoft/TypeScript/issues/29382#event-2069605623
https://github.com/Kingwl
Wenlu Wang (Kingwl)https://github.com/Kingwl
on Jan 14, 2019https://github.com/microsoft/TypeScript/issues/29382#issuecomment-453891446
https://github.com/JakeTunaley
JakeTunaleyhttps://github.com/JakeTunaley
on Jan 14, 2019https://github.com/microsoft/TypeScript/issues/29382#issuecomment-453894064
#15135https://github.com/microsoft/TypeScript/issues/15135
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Jan 16, 2019https://github.com/microsoft/TypeScript/issues/29382#issuecomment-454779425
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jan 16, 2019https://github.com/microsoft/TypeScript/issues/29382#issuecomment-454871134
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Jan 16, 2019https://github.com/microsoft/TypeScript/issues/29382#issuecomment-454936548
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 19, 2019https://github.com/microsoft/TypeScript/issues/29382#event-2084237497
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/29382
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29382
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.