Title: Probable bug: Intellisense doesn't work in case of circular type parameter constraints like `T extends M
Open Graph Title: Probable bug: Intellisense doesn't work in case of circular type parameter constraints like `T extends M
X Title: Probable bug: Intellisense doesn't work in case of circular type parameter constraints like `T extends M
Description: Bug Report 🔎 Search Terms Circular type parameter constraint, intellisense. Related - #40439 🕗 Version & Regression Information Tested with version 4.3.2 ⏯ Playground Link Link 💻 Code declare const m: Open Graph Description: Bug Report 🔎 Search Terms Circular type parameter constraint, intellisense. Related - #40439 🕗 Version & Regression Information Tested with version 4.3.2 ⏯ Playground Link Link 💻 Code declare const...
X Description: Bug Report 🔎 Search Terms Circular type parameter constraint, intellisense. Related - #40439 🕗 Version & Regression Information Tested with version 4.3.2 ⏯ Playground Link Link 💻 Code declare c...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/44428
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Probable bug: Intellisense doesn't work in case of circular type parameter constraints like `T extends M\u003cT>`","articleBody":"# Bug Report\r\n\r\n### 🔎 Search Terms\r\n\r\nCircular type parameter constraint, intellisense.\r\nRelated - #40439\r\n\r\n### 🕗 Version & Regression Information\r\n\r\nTested with version 4.3.2\r\n\r\n### ⏯ Playground Link\r\n\r\n[Link](https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEYD2A7AzgF3gWwFzwB4AVeEADwxBWDXgFliA+RgCj3iIEp4BeRjgFAYAngAcEDAMogIAMwA08ANK94AUTKQArqAIBrEMKSz40uYoBEei814D48AN7woAfnwot2AEYgY9+EVvd3hPHz8AxTAQsN9-B0VgGK84yPg9EKUAgF8BAQB6fPhcTgFsFkcAqHwARnkA73wAJnqHMnwAZlb4QtIycTBKYHg0LQBzMZA0TABLVDR8METFPQDeqEGtKAgR8cnpjDn0ReX0gWzSgqLcFjKKqtruxvgWgPb4LoC9fAsoC27euQBkNdhMprN5id4MA1kUNhgtjtRmCDkcFqFUCBzqUgA)\r\n\r\n### 💻 Code\r\n\r\n```ts\r\ndeclare const m: \u003cT extends M\u003cT>>(m: T) => T\r\ntype M\u003cSelf, K = Exclude\u003ckeyof Self, \"k\">> =\r\n { a?: number\r\n , b?: number\r\n , c?: number\r\n , d?: number\r\n , k?: K\r\n }\r\n\r\n// :)\r\nm({\r\n a: 1,\r\n b: 2,\r\n x: 3,\r\n // expected suggesstions: c, d, k\r\n // actual suggesstions: c, d, k\r\n})\r\n\r\n// :(\r\nm({\r\n a: 1,\r\n b: 2,\r\n x: 3,\r\n k: \"a\",\r\n // expected suggesstions: c, d\r\n // actual suggesstions: none\r\n})\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nIn second function call, intellisense suggested no properties\r\n\r\n### 🙂 Expected behavior\r\n\r\nIn second function call, intellisense should suggest properties `c` and `d`\r\n","author":{"url":"https://github.com/devanshj","@type":"Person","name":"devanshj"},"datePublished":"2021-06-04T04:13:28Z","url":"https://github.com/microsoft/TypeScript/issues/44428"}
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:d6ab0413-2c94-d780-a6b1-2c5c43958be9 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id BF9A:2E9831:56F1DE:72B87E:6B019E8A html-safe-nonce 3ac783e1081e8d3a3aed0cfa634d6fae68113f659ee45da2d5316d0e33f668f7 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjlBOjJFOTgzMTo1NkYxREU6NzJCODdFOjZCMDE5RThBIiwidmlzaXRvcl9pZCI6IjY4NDQ0NzUyNTYzODg4MjA2MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== visitor-hmac d2be83dc984b8bc93f4396e9ff3ad4b3688675ba8d918917b772ff69a7b328fc hovercard-subject-tag issue:911099885 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/44428/issue_layout twitter:image https://opengraph.githubassets.com/2b4dccfc7db4fce16e6f2a1cafbf44098a016d82879bfb4a78a37779778aaeac/microsoft/TypeScript/issues/44428 twitter:card summary_large_image og:image https://opengraph.githubassets.com/2b4dccfc7db4fce16e6f2a1cafbf44098a016d82879bfb4a78a37779778aaeac/microsoft/TypeScript/issues/44428 og:image:alt Bug Report 🔎 Search Terms Circular type parameter constraint, intellisense. Related - #40439 🕗 Version & Regression Information Tested with version 4.3.2 ⏯ Playground Link Link 💻 Code declare const... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username devanshj 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 canary-2 theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.