Title: Tooltips / IntelliSense: Don't resolve type aliases (aka "semantic sugar") set explicitly · Issue #31940 · microsoft/TypeScript · GitHub
Open Graph Title: Tooltips / IntelliSense: Don't resolve type aliases (aka "semantic sugar") set explicitly · Issue #31940 · microsoft/TypeScript
X Title: Tooltips / IntelliSense: Don't resolve type aliases (aka "semantic sugar") set explicitly · Issue #31940 · microsoft/TypeScript
Description: We have defined a bunch of "semantic sugar" type aliases like: Status quo (bad): VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda makes non-sense of the type alias in the first place)...
Open Graph Description: We have defined a bunch of "semantic sugar" type aliases like: Status quo (bad): VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda makes non-sen...
X Description: We have defined a bunch of "semantic sugar" type aliases like: Status quo (bad): VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda mak...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/31940
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tooltips / IntelliSense: Don't resolve type aliases (aka \"semantic sugar\") set explicitly","articleBody":"We have defined a bunch of \"semantic sugar\" type aliases like:\r\n\r\n\r\n**Status quo (bad):** VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda makes non-sense of the type alias in the first place)\r\n(c.f. hovered tooltip over `this.url` at bottom)\r\n\r\n**Better:** Let VS Code show `UrlString` as type here instead of `string` to aid developers with semantic sugar as of what type of string to expect.\r\n\r\n**Alternative:** Show both, i.e. `BufferingWebSocket.url: UrlString (= string)`.","author":{"url":"https://github.com/Sgt-Nukem","@type":"Person","name":"Sgt-Nukem"},"datePublished":"2019-06-17T16:37:24Z","url":"https://github.com/microsoft/TypeScript/issues/31940"}
| 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:d16070e5-9ca4-d13a-aaca-97b00801344f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8468:158DF1:DAA5C1:120F55F:6B01CD34 |
| html-safe-nonce | fa5f7f596953e6706b5ea8c29d4631bb992b29f3978a056b3265f22393f58c77 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDY4OjE1OERGMTpEQUE1QzE6MTIwRjU1Rjo2QjAxQ0QzNCIsInZpc2l0b3JfaWQiOiIxMDQ1MzE0OTU2NjU5MTMxNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8298f180aa7082a6791681254564d1befa670c2198ed70342cc211d9863d5335 |
| hovercard-subject-tag | issue:457052853 |
| 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/31940/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d42fb2b47df503c2945f016d8ddfecbb642074dbe8773891578c01389a2d02d6/microsoft/TypeScript/issues/31940 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d42fb2b47df503c2945f016d8ddfecbb642074dbe8773891578c01389a2d02d6/microsoft/TypeScript/issues/31940 |
| og:image:alt | We have defined a bunch of "semantic sugar" type aliases like: Status quo (bad): VS Code is resolving these along the alias chain in tooltips and IntelliSense suggestions (which kinda makes non-sen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Sgt-Nukem |
| 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 |
Links:
Viewport: width=device-width