Title: Bad subsequent declaration error · Issue #20178 · microsoft/TypeScript · GitHub
Open Graph Title: Bad subsequent declaration error · Issue #20178 · microsoft/TypeScript
X Title: Bad subsequent declaration error · Issue #20178 · microsoft/TypeScript
Description: The current declaration mismatch error looks like: error TS2403: Subsequent variable declarations must have the same type. Variable 'items' has type 'DataTransferItemList' at built/local/lib.d.ts 6521:13, but here has type 'DataTransferI...
Open Graph Description: The current declaration mismatch error looks like: error TS2403: Subsequent variable declarations must have the same type. Variable 'items' has type 'DataTransferItemList' at built/local/lib.d.ts 6...
X Description: The current declaration mismatch error looks like: error TS2403: Subsequent variable declarations must have the same type. Variable 'items' has type 'DataTransferItemList' at built/...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/20178
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bad subsequent declaration error","articleBody":"The current declaration mismatch error looks like:\r\n\r\n```sh\r\nerror TS2403: Subsequent variable declarations must have the same type. Variable 'items' has type 'DataTransferItemList' at built/local/lib.d.ts 6521:13, but here has type 'DataTransferItem[]'.\r\n```\r\nThe error was introduced by https://github.com/Microsoft/TypeScript/pull/19356. I do not think this is the correct solution here. the error as it stands is hard to read, and does not lend itself to navigation..\r\n\r\nmoreover, it makes our baselines very noisy. \r\n\r\nI think the correct solution here is to do revert the changes in https://github.com/Microsoft/TypeScript/pull/19356 and look into \r\n https://github.com/Microsoft/TypeScript/issues/10489 instead.","author":{"url":"https://github.com/mhegazy","@type":"Person","name":"mhegazy"},"datePublished":"2017-11-21T01:44:22Z","url":"https://github.com/microsoft/TypeScript/issues/20178"}
| 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:827ad2ac-1380-eded-b7d0-27f9bfffb14f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99AE:1CEA6F:D5F7C9:11C0FE0:6B00F977 |
| html-safe-nonce | 32a18e33db4a050c7b3af0e8b38a50e79a2e0fccb649084a961de88c9cc95004 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUFFOjFDRUE2RjpENUY3Qzk6MTFDMEZFMDo2QjAwRjk3NyIsInZpc2l0b3JfaWQiOiI3OTA4MjUxMDIxMDk1MjcwNzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 13753623d7a48a752d92fbf144cc247a695eebc6a8ea6ebab0276b62d5d6f875 |
| hovercard-subject-tag | issue:275557620 |
| 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/20178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87f82f6f44529316e0fbf485c19f902ca50a24d2921196a8c111856efb5944c1/microsoft/TypeScript/issues/20178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87f82f6f44529316e0fbf485c19f902ca50a24d2921196a8c111856efb5944c1/microsoft/TypeScript/issues/20178 |
| og:image:alt | The current declaration mismatch error looks like: error TS2403: Subsequent variable declarations must have the same type. Variable 'items' has type 'DataTransferItemList' at built/local/lib.d.ts 6... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhegazy |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width