Title: Heuristic/loose completions for the 'any' type · Issue #5334 · microsoft/TypeScript · GitHub
Open Graph Title: Heuristic/loose completions for the 'any' type · Issue #5334 · microsoft/TypeScript
X Title: Heuristic/loose completions for the 'any' type · Issue #5334 · microsoft/TypeScript
Description: Motivation Today, if you have a value of type 'any', dotting off of the value and requesting members for completion will return nothing back. The original motivation for this was that we should never risk giving users incorrect completio...
Open Graph Description: Motivation Today, if you have a value of type 'any', dotting off of the value and requesting members for completion will return nothing back. The original motivation for this was that we should nev...
X Description: Motivation Today, if you have a value of type 'any', dotting off of the value and requesting members for completion will return nothing back. The original motivation for this was that we sh...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/5334
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Heuristic/loose completions for the 'any' type","articleBody":"# Motivation\n\nToday, if you have a value of type 'any', dotting off of the value and requesting members for completion will return nothing back. The original motivation for this was that we should never risk giving users incorrect completions.\n\nThis is great for a fully typed TypeScript project. However, for those migrating to TypeScript, as well as those who need to drop down to `any` fairly frequently, this can be slightly frustrating.\n\nFor those used to the JS editing experience in editors like Sublime where they just \"got completions\", the current behavior might be seen as unattractive.\n# Proposal\n\nWe should consider adding a language service option for users to get \"loose\" completions akin to what we give in the Salsa language service. \n\nWe can still keep the warning for each completion, but we should provide completions with a builder.\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2015-10-20T05:14:32Z","url":"https://github.com/microsoft/TypeScript/issues/5334"}
| 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:303bc831-d360-b0d8-6363-bc77f6be06d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E862:2412:528015:6C454C:6B02625E |
| html-safe-nonce | 3ee1edc1017f98ec28ffd4a655f1acf15c46e765e448d569207fd62b1b6dd075 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODYyOjI0MTI6NTI4MDE1OjZDNDU0Qzo2QjAyNjI1RSIsInZpc2l0b3JfaWQiOiI2MTQwODEwNDI3NjE1MDQ0MTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 24be4d19c5a8f293ad0ccadcbcdd44e3aae61ddc4249677ef5140b3f3e04c459 |
| hovercard-subject-tag | issue:112288567 |
| 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/5334/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46435324cf5583be8cbb8d103a945bc771ae7ae75f0c172b07a0e5a669deba05/microsoft/TypeScript/issues/5334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46435324cf5583be8cbb8d103a945bc771ae7ae75f0c172b07a0e5a669deba05/microsoft/TypeScript/issues/5334 |
| og:image:alt | Motivation Today, if you have a value of type 'any', dotting off of the value and requesting members for completion will return nothing back. The original motivation for this was that we should nev... |
| 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 | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width