Title: TS 4.8 Generics completion is now weaker. · Issue #50680 · microsoft/TypeScript · GitHub
Open Graph Title: TS 4.8 Generics completion is now weaker. · Issue #50680 · microsoft/TypeScript
X Title: TS 4.8 Generics completion is now weaker. · Issue #50680 · microsoft/TypeScript
Description: Bug Report 🔎 Search Terms Generics completion is now weaker. 🕗 Version & Regression Information This changed between versions 4.7.4 and 4.8.2 ⏯ Playground Link 💻 Code export const func =
Open Graph Description: Bug Report 🔎 Search Terms Generics completion is now weaker. 🕗 Version & Regression Information This changed between versions 4.7.4 and 4.8.2 ⏯ Playground Link 💻 Code export const func = X Description: Bug Report 🔎 Search Terms Generics completion is now weaker. 🕗 Version & Regression Information This changed between versions 4.7.4 and 4.8.2 ⏯ Playground Link 💻 Code export const func = <T ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/50680
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TS 4.8 Generics completion is now weaker.","articleBody":"Bug Report\r\n🔎 Search Terms\r\nGenerics completion is now weaker.\r\n\r\n🕗 Version & Regression Information\r\nThis changed between versions 4.7.4 and 4.8.2\r\n⏯ [Playground Link](https://www.typescriptlang.org/play?ts=4.7.4#code/KYDwDg9gTgLgBAYwgOwM7wGYFdkLgXjgB4AVOUGYZAE1TnSgEtkBzAPgAoBvOAa2ACedAL4AuOD35DxJANoBdOMICUBNhICwAKG1xEKdHAyMo6ANKCCfQalkAGeQG5dcF1GAwsUZJq169UqgANC56xqYwFgIuwnAAhnRIaDDOWsKp2gD0mXAALAB0ABz5AExhJuaWDMwsWTkFAOz5ueURUXAARHFxHXAAPp0ARoMd2kmGkjZBRhWRlrGE2LjcgeKyXT3THcMd8ipAA)\r\n\r\n💻 Code\r\n\r\n```ts\r\nexport const func = \u003cT extends string>({ keys }: { keys: T[] }) => {\r\n\r\n const firstKey = keys[0];\r\n \r\n return {\r\n keys,\r\n firstKey\r\n } as const;\r\n};\r\n\r\n// 4.8.2 firstKey string\r\n// 4.7.4 firstKey \"aa\" | \"bb\"\r\nconst { keys, firstKey } = func({keys: [\"aa\", \"bb\"]})\r\n```\r\n\r\n🙁 Actual behavior\r\n\r\n4.8.2 firstKey type of `string`\r\n\r\n🙂 Expected behavior\r\nfirstKey type of `\"aa\" | \"bb\"`","author":{"url":"https://github.com/eretica","@type":"Person","name":"eretica"},"datePublished":"2022-09-08T03:52:16Z","url":"https://github.com/microsoft/TypeScript/issues/50680"}
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:af6ba3cc-dd44-758f-287b-8b7cdeb0a80b current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C874:16EED3:2BCFEBC:37CE956:6B01B4FD html-safe-nonce daa5d975e0300ac03aeaef670fedc5bc7a70544f8360522f65c33d27a382274c visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODc0OjE2RUVEMzoyQkNGRUJDOjM3Q0U5NTY6NkIwMUI0RkQiLCJ2aXNpdG9yX2lkIjoiMjkxMjk5MjcwMDUwNjY4MjYyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac ec3e92ce3a4a2bbff35b6e1008586aff2c649023928c825e82b6ccb1beb97ca4 hovercard-subject-tag issue:1365486009 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/50680/issue_layout twitter:image https://opengraph.githubassets.com/2af23fe1a19f46e1814e9a5c864d055ed8ce1cc750502cf0ee90eb8be4699d4e/microsoft/TypeScript/issues/50680 twitter:card summary_large_image og:image https://opengraph.githubassets.com/2af23fe1a19f46e1814e9a5c864d055ed8ce1cc750502cf0ee90eb8be4699d4e/microsoft/TypeScript/issues/50680 og:image:alt Bug Report 🔎 Search Terms Generics completion is now weaker. 🕗 Version & Regression Information This changed between versions 4.7.4 and 4.8.2 ⏯ Playground Link 💻 Code export const func = og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username eretica hostname github.com expected-hostname github.com None cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c 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 8c77c9e8439031ad54c75a250694842892f693e1 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.