Title: Abstract methods · Issue #2947 · microsoft/TypeScript · GitHub
Open Graph Title: Abstract methods · Issue #2947 · microsoft/TypeScript
X Title: Abstract methods · Issue #2947 · microsoft/TypeScript
Description: As a continuation of #6, which allows the abstract modifier on class declarations, we should extend this to class methods. Relevant points: An abstract method may only be declared in an abstract class abstract methods may not have implem...
Open Graph Description: As a continuation of #6, which allows the abstract modifier on class declarations, we should extend this to class methods. Relevant points: An abstract method may only be declared in an abstract cl...
X Description: As a continuation of #6, which allows the abstract modifier on class declarations, we should extend this to class methods. Relevant points: An abstract method may only be declared in an abstract cl...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/2947
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Abstract methods","articleBody":"As a continuation of #6, which allows the `abstract` modifier on class declarations, we should extend this to class methods.\n\nRelevant points:\n- An `abstract` method may only be declared in an `abstract` class\n- `abstract` methods may not have implementations\n- `abstract` methods may not be `private`, but may be `protected`\n- It is an error to invoke an abstract method via `super` in a derived clas\n- Fields may not be `abstract`\n- Property getters / setters may not be `abstract`\n- A class must be marked `abstract` if it does not overwrite all of its abstract base class's `abstract` methods\n- All overloads of a method must have, or not have, the `abstract` modifier\n- Static methods may not be `abstract`\n- `abstract` modifier must come after `public` or `protected` modifier\n\nSecondary clarifications:\n- `abstract` has no impact on assignability / subtype / supertype relations\n","author":{"url":"https://github.com/RyanCavanaugh","@type":"Person","name":"RyanCavanaugh"},"datePublished":"2015-04-28T23:11:20Z","url":"https://github.com/microsoft/TypeScript/issues/2947"}
| 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:f9b9c680-e4d5-8618-f0bd-fe5402c3f445 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8BE:76F02:28C9234:342B8B9:6B019B6F |
| html-safe-nonce | 3269ebee9fed6510b4e2a29a2202973f03b65dd6697eb9d234aaa035b8e41202 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEJFOjc2RjAyOjI4QzkyMzQ6MzQyQjhCOTo2QjAxOUI2RiIsInZpc2l0b3JfaWQiOiI0MzMxMDc4NjkxMzMwMzAwNzgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 036b7907d6d7bf663020c1991c984faaf6f2a3424412ebd5f3f3e6d26d6d846b |
| hovercard-subject-tag | issue:71732167 |
| 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/2947/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ce6b59c1e2844e9c7a9a6f54d4dcaaff90ca0c4e0db67481ba48bd009a316d1/microsoft/TypeScript/issues/2947 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ce6b59c1e2844e9c7a9a6f54d4dcaaff90ca0c4e0db67481ba48bd009a316d1/microsoft/TypeScript/issues/2947 |
| og:image:alt | As a continuation of #6, which allows the abstract modifier on class declarations, we should extend this to class methods. Relevant points: An abstract method may only be declared in an abstract cl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RyanCavanaugh |
| 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