Title: Suggestion: internal modifier · Issue #892 · microsoft/TypeScript · GitHub
Open Graph Title: Suggestion: internal modifier · Issue #892 · microsoft/TypeScript
X Title: Suggestion: internal modifier · Issue #892 · microsoft/TypeScript
Description: Currently the spec reads: Protected property members can be accessed only within their declaring class and classes derived from their declaring class, and a protected instance property member must be accessed through an instance of the e...
Open Graph Description: Currently the spec reads: Protected property members can be accessed only within their declaring class and classes derived from their declaring class, and a protected instance property member must ...
X Description: Currently the spec reads: Protected property members can be accessed only within their declaring class and classes derived from their declaring class, and a protected instance property member must ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/892
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: internal modifier","articleBody":"Currently the spec reads: Protected property members can be accessed only within their declaring class and classes derived from their declaring class, and a protected instance property member must be accessed through an instance of the enclosing class.\n\nRelaxing the constraint, \"member must be accessed through an instance of the enclosing class\" to allow all classes derived from the declaring class as long as they are declared in the same module as the declaring class, would make it possible to have module internal access.\n\nThis is closer to how Java implements protected access, rather than C#. Are there plans to add an `internal` access modifier? If not, then this may be a way to alleviate the pain of encapsulating internal class state.\n","author":{"url":"https://github.com/mbebenita","@type":"Person","name":"mbebenita"},"datePublished":"2014-10-14T18:39:26Z","url":"https://github.com/microsoft/TypeScript/issues/892"}
| 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:2b73adb6-ed53-a604-eb23-2495db1bf041 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B8E:A20F9:C35CD8:104FC85:6B00F455 |
| html-safe-nonce | bcaf05c2ec3057d52c0d69fb36dc916d8d612cb9d4238937b0cb67b0cb7462c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjhFOkEyMEY5OkMzNUNEODoxMDRGQzg1OjZCMDBGNDU1IiwidmlzaXRvcl9pZCI6IjE4ODgxNDE2MzU5OTMyNjkzMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c21d7540e55947f69b9eaf54d90be75c87a55df4e3adb6685106b1fd484cbb1 |
| hovercard-subject-tag | issue:45784801 |
| 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/892/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7fab01ef7f02781b5aa32da0dd105ab4a4a34c6e921a555c88c9e102a1b62379/microsoft/TypeScript/issues/892 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7fab01ef7f02781b5aa32da0dd105ab4a4a34c6e921a555c88c9e102a1b62379/microsoft/TypeScript/issues/892 |
| og:image:alt | Currently the spec reads: Protected property members can be accessed only within their declaring class and classes derived from their declaring class, and a protected instance property member must ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mbebenita |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width