Title: Declaration file generated for destructuring elements is incorrect. · Issue #2023 · microsoft/TypeScript · GitHub
Open Graph Title: Declaration file generated for destructuring elements is incorrect. · Issue #2023 · microsoft/TypeScript
X Title: Declaration file generated for destructuring elements is incorrect. · Issue #2023 · microsoft/TypeScript
Description: Destructuing is not handled correctly (either object literal or array binding pattern) in during declaration emit. Eg. TypeScript var { a, b } = { a: "10", b: 10 }; Generates ``` TypeScript``` declare var { a, b }: any; Expected: TypeScr...
Open Graph Description: Destructuing is not handled correctly (either object literal or array binding pattern) in during declaration emit. Eg. TypeScript var { a, b } = { a: "10", b: 10 }; Generates ``` TypeScript``` decl...
X Description: Destructuing is not handled correctly (either object literal or array binding pattern) in during declaration emit. Eg. TypeScript var { a, b } = { a: "10", b: 10 }; Generates ``` TypeScri...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/2023
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Declaration file generated for destructuring elements is incorrect.","articleBody":"Destructuing is not handled correctly (either object literal or array binding pattern) in during declaration emit.\n\nEg.\n\n``` TypeScript```\nvar { a, b } = { a: \"10\", b: 10 };\n```\n\nGenerates\n\n``` TypeScript```\ndeclare var { a, b }: any;\n```\n\nExpected:\n\n``` TypeScript```\ndeclare var a: string, b: number;\n```\n","author":{"url":"https://github.com/sheetalkamat","@type":"Person","name":"sheetalkamat"},"datePublished":"2015-02-12T19:42:20Z","url":"https://github.com/microsoft/TypeScript/issues/2023"}
| 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:be3301a3-2cd7-3f07-a3b5-f513168d4f17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEF8:215B92:1F16805:29572AA:6B0176BE |
| html-safe-nonce | d8564f2e1240e49bb3ad61cfbb2675283459b5494618303fd324de1be3193033 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUY4OjIxNUI5MjoxRjE2ODA1OjI5NTcyQUE6NkIwMTc2QkUiLCJ2aXNpdG9yX2lkIjoiMTg2ODQ1ODUxMzg0MDMwNTg1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ed7b1d613296c469aabd0eb68d9b5daf2568d08b53b8efe1be63382db37f2c82 |
| hovercard-subject-tag | issue:57509085 |
| 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/2023/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c846d88568737dd9dc68a193c6fc61222cf0a94f2798ec59184bd05c2cf8815/microsoft/TypeScript/issues/2023 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c846d88568737dd9dc68a193c6fc61222cf0a94f2798ec59184bd05c2cf8815/microsoft/TypeScript/issues/2023 |
| og:image:alt | Destructuing is not handled correctly (either object literal or array binding pattern) in during declaration emit. Eg. TypeScript var { a, b } = { a: "10", b: 10 }; Generates ``` TypeScript``` decl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sheetalkamat |
| 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