Title: Question about change of type relations rules in regards to index signatures · Issue #4651 · microsoft/TypeScript · GitHub
Open Graph Title: Question about change of type relations rules in regards to index signatures · Issue #4651 · microsoft/TypeScript
X Title: Question about change of type relations rules in regards to index signatures · Issue #4651 · microsoft/TypeScript
Description: From 1.6 spec, rules about subtypes/supertypes: M is a string index signature of type U, and U is the Any type or S has an apparent string index signature of a type that is a subtype of U. M is a numeric index signature of type U, and U ...
Open Graph Description: From 1.6 spec, rules about subtypes/supertypes: M is a string index signature of type U, and U is the Any type or S has an apparent string index signature of a type that is a subtype of U. M is a n...
X Description: From 1.6 spec, rules about subtypes/supertypes: M is a string index signature of type U, and U is the Any type or S has an apparent string index signature of a type that is a subtype of U. M is a n...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/4651
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question about change of type relations rules in regards to index signatures","articleBody":"From 1.6 spec, rules about subtypes/supertypes:\n\n> - M is a string index signature of type U, and U is the Any type or S has an apparent string\n> index signature of a type that is a subtype of U.\n> - M is a numeric index signature of type U, and U is the Any type or S has an apparent\n> string or numeric index signature of a type that is a subtype of U.\n\n\"U is the Any type or \" was added here. But similar rules for assignability weren't changed. That is strange: until 1.6 assignability rules were more relaxed than subtyping rules. What is the rationale for that? Thanks!\n","author":{"url":"https://github.com/osdm","@type":"Person","name":"osdm"},"datePublished":"2015-09-04T20:13:03Z","url":"https://github.com/microsoft/TypeScript/issues/4651"}
| 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:a1fba367-5d80-b36a-428c-0994aa193a9c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8152:2454CC:50D96A:68B25A:6B00DA1B |
| html-safe-nonce | 2d1f2e1c6d91e3b6a9c18ac2e9d7184eb32c9817cfe519f3579e0ed2e7aae1c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTUyOjI0NTRDQzo1MEQ5NkE6NjhCMjVBOjZCMDBEQTFCIiwidmlzaXRvcl9pZCI6IjM4ODU2MjQyMTY5MDAzOTM0OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2901002a7653541605a9f02963591f12b9987baebde218b47efd7703d0eab16e |
| hovercard-subject-tag | issue:104962564 |
| 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/4651/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68b0eef91e57e16f81dca2b81a03142b7be46a9a1a6d160ec1e64f8b49ba7d81/microsoft/TypeScript/issues/4651 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68b0eef91e57e16f81dca2b81a03142b7be46a9a1a6d160ec1e64f8b49ba7d81/microsoft/TypeScript/issues/4651 |
| og:image:alt | From 1.6 spec, rules about subtypes/supertypes: M is a string index signature of type U, and U is the Any type or S has an apparent string index signature of a type that is a subtype of U. M is a n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | osdm |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width