Title: Design Meeting Notes, 2/5/2021 · Issue #42672 · microsoft/TypeScript · GitHub
Open Graph Title: Design Meeting Notes, 2/5/2021 · Issue #42672 · microsoft/TypeScript
X Title: Design Meeting Notes, 2/5/2021 · Issue #42672 · microsoft/TypeScript
Description: tsconfig Option Recategorization #42514 We wanted to revise the config entries in our documentation, along within tsc --init We decide to emit whatever we put into tsc --help If we were to strip down the options that go into tsc --init, ...
Open Graph Description: tsconfig Option Recategorization #42514 We wanted to revise the config entries in our documentation, along within tsc --init We decide to emit whatever we put into tsc --help If we were to strip do...
X Description: tsconfig Option Recategorization #42514 We wanted to revise the config entries in our documentation, along within tsc --init We decide to emit whatever we put into tsc --help If we were to strip do...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/42672
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 2/5/2021","articleBody":"# tsconfig Option Recategorization\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/42514\r\n\r\n* We wanted to revise the config entries in our documentation, along within `tsc --init`\r\n* We decide to emit whatever we put into `tsc --help`\r\n* If we were to strip down the options that go into `tsc --init`, would we rephrase.\r\n* Some of the names were not exactly how we want to - \"linting\" for example.\r\n* \"Debugging the Compiler\" -> \"Compiler Diagnostics\"\r\n* \"Language\" -> ... \"Language and Environment\"\r\n* \"Strictness Extended\" -> \"Thorough\"\r\n * (\"thorough\" with a certain UK accent was very tough to catch)\r\n* \"Output Formatting\" for `pretty` and `noErrorTruncation`.\r\n* \"'Lints' sounds good, right?\"\r\n * Strict ones wouldn't be called \"lint\", so that's strange.\r\n * People already think of TypeScript as a linter sometimes - the non-strict.\r\n * Sounds like the best way out is to categorize them all in the same bucket of strictness checks.\r\n* \"Editor Support\"? Why not LSP?\r\n * Most people don't know LSP\r\n * Where should `disableSizeLimit` go?\r\n * Potentially Editor Support, potentially JavaScript.\r\n * Ultimately doesn't matter, a JS user wouldn't come to this page if things aren't working, they'd check their editor's documentation.\r\n* Revisit and review on GitHub\r\n\r\n# Combining Overloads for Contextual Signatures\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/42620\r\n\r\n* In 4.2, we got better at combining overload signatures - now you can call `.map` on a union of arrays.\r\n * But their parameter types are contextually typed by an intersection type. That creates an overload list.\r\n* With this PR, we look at contextual overload lists and synthesize a new \"combined\" contextual signature\r\n * Only under `noImplicitAny`, otherwise breaking change.\r\n* Only break we've found is when being contextually typed by a union type, one which has one signature, one which has multiple.\r\n * We used to discard the type with multiple overload signatures, and contextually type by the type with just one.\r\n* What exactly is a \"sufficiently compatible\" signature?\r\n * If each of the members of a union have the right type parameters, etc.\r\n* Looks like a nice change overall for 4.3, get it in early for more testing.","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2021-02-05T23:31:40Z","url":"https://github.com/microsoft/TypeScript/issues/42672"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ab9fe1e8-3724-d681-4835-ea5df86a40fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5EA:296654:8A8241:BB7C51:6B00E3F6 |
| html-safe-nonce | 470303f09fc6fe1aa85cde0a193d197f68812b662048b475688b6db6ce347783 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUVBOjI5NjY1NDo4QTgyNDE6QkI3QzUxOjZCMDBFM0Y2IiwidmlzaXRvcl9pZCI6IjU4MTQ5Njc5NDA1MjA0MDM5NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bad1f5c14ba067a5dbac02bef4d19d301e08308253243e56f57aef3af3f2b1d9 |
| hovercard-subject-tag | issue:802540994 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/42672/issue_layout |
| twitter:image | https://opengraph.githubassets.com/611fdb159d01193b52e6fae18719f200dedb40712901b99d078de2295d448349/microsoft/TypeScript/issues/42672 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/611fdb159d01193b52e6fae18719f200dedb40712901b99d078de2295d448349/microsoft/TypeScript/issues/42672 |
| og:image:alt | tsconfig Option Recategorization #42514 We wanted to revise the config entries in our documentation, along within tsc --init We decide to emit whatever we put into tsc --help If we were to strip do... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width