René's URL Explorer Experiment


Title: Design Meeting Notes, 4/15/2019 · Issue #30947 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 4/15/2019 · Issue #30947 · microsoft/TypeScript

X Title: Design Meeting Notes, 4/15/2019 · Issue #30947 · microsoft/TypeScript

Description: The non-inferrable type #30856 In resolveCallExpression, there's a big ol' comment with some context ("When a call to a generic function"). We have this thing called the anyFunctionType, which signals that we are trying to defer inferrin...

Open Graph Description: The non-inferrable type #30856 In resolveCallExpression, there's a big ol' comment with some context ("When a call to a generic function"). We have this thing called the anyFunctionType, which sign...

X Description: The non-inferrable type #30856 In resolveCallExpression, there's a big ol' comment with some context ("When a call to a generic function"). We have this thing called the anyFuncti...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 4/15/2019","articleBody":"# The non-inferrable type\r\n\r\nhttps://github.com/Microsoft/TypeScript/pull/30856\r\n\r\n* In `resolveCallExpression`, there's a big ol' comment with some context (\"When a call to a generic function\").\r\n* We have this thing called the `anyFunctionType`, which signals that we are trying to defer inferring from contextually-sensitive function expressions.\r\n* We have situations like the following:\r\n\r\n   ```ts\r\n   outer(..., ..., inner(x => ...), ...);\r\n   ```\r\n    * `inner` could have a type like `\u003cT>(x: T) => T`\r\n    * We need to defer the call to `inner` for the same reason, but we need some sort of marker type like `anyFunctionType` that isn't technically a function type.\r\n    * It's extremely subtle, but there were issues in Ramda where this occurred.\r\n    * @weswigham \r\n* Causes some breaks *other* breaks on DT.\r\n* On the whole, this is a specialization of work where we were previously using a `silentNeverType`.\r\n\r\n# Excess property checking when relating to intersections and unions\r\n\r\nhttps://github.com/Microsoft/TypeScript/pull/30853\r\n\r\n* Many long-standing issues around excess property checking.\r\n* In principle, an object with *more* properties than is expected is \"fine\" - basic \"width\" subtyping.\r\n* But usually it's an error when people pass object literals - so we added excess property checks for options bags.\r\n    * Aside: also did overlap checks for weak types for similar reasons.\r\n* Problem is, we do this on the top-level of relationship checks, but don't do it on nested properties of intersection types\r\n* Gets more \"interesting\" when you do excess properties on unions.\r\n    * If assigning an `{ a, b, c, d }` object literal to `{ a, b } | { c, d }`, it's *plausible*\r\n    * Probably not an `{ a, b, c, d, e }` though.\r\n    * @weswigham, why again? Something about discriminant types.\r\n* Opened about 18 PRs in DefinitelyTyped for questionable tests, entirely missing declarations, or completely wrong declarations.\r\n* Error messages got a lot shorter too.\r\n* Weirdly, we found errors on code for `SomeOptions | object`.\r\n    * It's a nonsense type...but is it wrong to report errors on it?\r\n    * It legitimately caught bad stuff being passed!\r\n* This is a breaking change. ☹\r\n    * None of the changes should feel \"debatable\" given how 3.4 went.\r\n* We need to make a call on `SomeOptions | object` being excess-property checked the same as `SomeOptions`.\r\n    * It really does seem reasonable.\r\n* Assigning `{ b, c, d }` to `{ a, b } | { b, c }`.\r\n    * Only works if you're assignable to the union without excess property checking anyway.\r\n    * We could expand excess property checking to go deeper in the union - but this is future work.\r\n* Resolution: pull it in.\r\n\r\n# Make the `Omit` type stricter\r\n\r\nhttps://github.com/Microsoft/TypeScript/pull/30825\r\n\r\n* Would it be more irritating to use `Omit` if it has a constraint?\r\n    * Adding a constraint would force users to add an explicit constraint where *they* use it.\r\n* DefinitelyTyped is mixed in `Omit` that is constrained and unconstrained - not entirely clear whether it's just one or the other.\r\n    * https://github.com/DefinitelyTyped/DefinitelyTyped/search?p=6&q=%22type+Omit%22&unscoped_q=%22type+Omit%22\r\n* Languages like Rust propagate the constraints outwards.\r\n    * Might be weird that a `T` with no constraint gains an implicit constraint.\r\n    * But maybe not that weird?\r\n* Resolution: not worth breaking half the usages of `Omit` in the wild.\r\n\r\n# `keyof` on `unknown` and `never`\r\n\r\nhttps://github.com/Microsoft/TypeScript/pull/30753\r\n\r\n* Today:\r\n    * `keyof unknown` is `never`.\r\n    * `keyof never` is also `never`.\r\n* But `keyof` is contravariant in its bounds with respect to its operand.\r\n    * `keyof` on `never` should be `unknown`\r\n    *  But can only really be `PropertyKey` (a.k.a. `keyof any`).\r\n* So change is that `keyof never` is now `keyof any`.\r\n* Aside: funny that `keyof keyof never` isn't `never`.\r\n* Resolution: Seems reasonable.\r\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2019-04-16T00:11:30Z","url":"https://github.com/microsoft/TypeScript/issues/30947"}

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:7a2b945a-b71c-4206-286d-2445d1d9195e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCEF4:7A60E:A8E7D5:DBCB91:6B00E7A5
html-safe-noncebff4025ff325aecd3f6760643cb590ed51823ac4002c2846e1bc43109e3030d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUY0OjdBNjBFOkE4RTdENTpEQkNCOTE6NkIwMEU3QTUiLCJ2aXNpdG9yX2lkIjoiNzUxODM4NTYzODM2MjYzODI0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca0c0257583f803da3acdd2a2d2db9116e552747972e303d04243e6d24d5c42af
hovercard-subject-tagissue:433528721
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/30947/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a0b4081898bd80094616b3786c3135a5b065c2a311a6b6d8679630b8850169cd/microsoft/TypeScript/issues/30947
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a0b4081898bd80094616b3786c3135a5b065c2a311a6b6d8679630b8850169cd/microsoft/TypeScript/issues/30947
og:image:altThe non-inferrable type #30856 In resolveCallExpression, there's a big ol' comment with some context ("When a call to a generic function"). We have this thing called the anyFunctionType, which sign...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielRosenwasser
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/30947#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F30947
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%2F30947
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/30947
Reloadhttps://github.com/microsoft/TypeScript/issues/30947
Reloadhttps://github.com/microsoft/TypeScript/issues/30947
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/30947
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30947
Design Meeting Notes, 4/15/2019https://github.com/microsoft/TypeScript/issues/30947#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 Apr 16, 2019https://github.com/microsoft/TypeScript/issues/30947#issue-433528721
#30856https://github.com/microsoft/TypeScript/pull/30856
Wesley Wigham (@weswigham)https://github.com/weswigham
#30853https://github.com/microsoft/TypeScript/pull/30853
Wesley Wigham (@weswigham)https://github.com/weswigham
#30825https://github.com/microsoft/TypeScript/issues/30825
https://github.com/DefinitelyTyped/DefinitelyTyped/search?p=6&q=%22type+Omit%22&unscoped_q=%22type+Omit%22https://github.com/DefinitelyTyped/DefinitelyTyped/search?p=6&q=%22type+Omit%22&unscoped_q=%22type+Omit%22
#30753https://github.com/microsoft/TypeScript/pull/30753
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 Apr 16, 2019https://github.com/microsoft/TypeScript/issues/30947#event-2278179557
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 13, 2019https://github.com/microsoft/TypeScript/issues/30947#event-2555008462
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/30947
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30947
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.