Title: 'Use element access' quick fix doesn't respect quote style · Issue #41787 · microsoft/TypeScript · GitHub
Open Graph Title: 'Use element access' quick fix doesn't respect quote style · Issue #41787 · microsoft/TypeScript
X Title: 'Use element access' quick fix doesn't respect quote style · Issue #41787 · microsoft/TypeScript
Description: declare let x: { [x: string]: number }; x.yadda/**/; Specify a quote style of 'single' and apply the quick fix at /**/. Currently this is changed to declare let x: { [x: string]: number }; x["yadda"]; but should switch to declare let x: ...
Open Graph Description: declare let x: { [x: string]: number }; x.yadda/**/; Specify a quote style of 'single' and apply the quick fix at /**/. Currently this is changed to declare let x: { [x: string]: number }; x["yadda...
X Description: declare let x: { [x: string]: number }; x.yadda/**/; Specify a quote style of 'single' and apply the quick fix at /**/. Currently this is changed to declare let x: { [x: string]: number }; ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/41787
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'Use element access' quick fix doesn't respect quote style","articleBody":"```ts\r\ndeclare let x: { [x: string]: number };\r\n\r\nx.yadda/**/;\r\n```\r\n\r\nSpecify a quote style of 'single' and apply the quick fix at `/**/`.\r\n\r\nCurrently this is changed to\r\n\r\n```ts\r\ndeclare let x: { [x: string]: number };\r\n\r\nx[\"yadda\"];\r\n```\r\n\r\nbut should switch to\r\n\r\n```ts\r\ndeclare let x: { [x: string]: number };\r\n\r\nx['yadda'];\r\n```","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2020-12-02T22:43:33Z","url":"https://github.com/microsoft/TypeScript/issues/41787"}
| 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:a930eca3-2276-9724-efb1-49f1c13fb09e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B40:19AA62:2767506:320CD9A:6B019750 |
| html-safe-nonce | 4565c1f782831c6475ce1b2f01190c5992120b365a3daf518f3b20e8c446e03d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjQwOjE5QUE2MjoyNzY3NTA2OjMyMENEOUE6NkIwMTk3NTAiLCJ2aXNpdG9yX2lkIjoiMzkxMDk5OTY2MTA3NDI5MDUxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 52b2081b00dd8a4fb1a7d3e5cb8b96468ebb49fa20313c8d52ec02c2c399c984 |
| hovercard-subject-tag | issue:755665147 |
| 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/41787/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0b902f6bc2ef3830f7eb0858b2885c7caee81267bb8395a6ef3b02647ee5d50/microsoft/TypeScript/issues/41787 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0b902f6bc2ef3830f7eb0858b2885c7caee81267bb8395a6ef3b02647ee5d50/microsoft/TypeScript/issues/41787 |
| og:image:alt | declare let x: { [x: string]: number }; x.yadda/**/; Specify a quote style of 'single' and apply the quick fix at /**/. Currently this is changed to declare let x: { [x: string]: number }; x["yadda... |
| 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 | 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