Title: Spec inconsistency for type aliases · Issue #17287 · microsoft/TypeScript · GitHub
Open Graph Title: Spec inconsistency for type aliases · Issue #17287 · microsoft/TypeScript
X Title: Spec inconsistency for type aliases · Issue #17287 · microsoft/TypeScript
Description: Specification, chapter 3.10: An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot. This contradicts the actual behaviour seen in current Playground: Interface cannot be used in ...
Open Graph Description: Specification, chapter 3.10: An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot. This contradicts the actual behaviour seen in current ...
X Description: Specification, chapter 3.10: An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot. This contradicts the actual behaviour seen in current ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/17287
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Spec inconsistency for type aliases","articleBody":"[Specification, chapter 3.10](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#3.10):\r\n\r\n> An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot.\r\n\r\nThis contradicts the actual behaviour seen in current Playground:\r\n\r\n* Interface cannot be used in the `extends` clause\r\n* Type alias can be used in the `implements` clause as well as an interface","author":{"url":"https://github.com/impworks","@type":"Person","name":"impworks"},"datePublished":"2017-07-19T08:30:46Z","url":"https://github.com/microsoft/TypeScript/issues/17287"}
| 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:6218c701-6e64-aece-09b4-6d298d383e44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C38:36A3E:67DE35:8CDAE2:6B00D87B |
| html-safe-nonce | 1690ca447a9248baec453343359f7b8f6b8b0fc69145c092a4e2f76ee406b86c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzM4OjM2QTNFOjY3REUzNTo4Q0RBRTI6NkIwMEQ4N0IiLCJ2aXNpdG9yX2lkIjoiNjAwNjg2NTc4NjUyMDUyNDkyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8ccc9398b3c26c91be4dd82684a61c19a9fad040092f4ba1dc1085148c5a677 |
| hovercard-subject-tag | issue:243962154 |
| 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/17287/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ba9125a8f50183dc0da00f00abd4982710473b09714220af114a8814c2c9b8c/microsoft/TypeScript/issues/17287 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ba9125a8f50183dc0da00f00abd4982710473b09714220af114a8814c2c9b8c/microsoft/TypeScript/issues/17287 |
| og:image:alt | Specification, chapter 3.10: An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot. This contradicts the actual behaviour seen in current ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | impworks |
| 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