Title: Abstract method called with callback · Issue #5591 · microsoft/TypeScript · GitHub
Open Graph Title: Abstract method called with callback · Issue #5591 · microsoft/TypeScript
X Title: Abstract method called with callback · Issue #5591 · microsoft/TypeScript
Description: Hi, I like typesctipt a lot and recently I updated my compiler to version 1.6. I have some classes that were "abstract" and now I want to use the new keywork abstract My question is as follow: In order to scope the ``this` variable I use...
Open Graph Description: Hi, I like typesctipt a lot and recently I updated my compiler to version 1.6. I have some classes that were "abstract" and now I want to use the new keywork abstract My question is as follow: In o...
X Description: Hi, I like typesctipt a lot and recently I updated my compiler to version 1.6. I have some classes that were "abstract" and now I want to use the new keywork abstract My question is as fo...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/5591
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Abstract method called with callback","articleBody":"Hi,\nI like typesctipt a lot and recently I updated my compiler to version 1.6.\nI have some classes that were \"abstract\" and now I want to use the new keywork `abstract`\nMy question is as follow:\nIn order to scope the ``this` variable I used the following type of methods when calling them from JQuary/Angular promise:\n\n``` js\nexport class SomeClass {\n public handleCallback = () => { \n this.whatEver();\n //... \n }\n}\n```\n\nThis will make sure that if I use this callback for an async operation the `this` variable will be correct.\nHow do I the same with abstract classes since I can't specify an abstract property?\n","author":{"url":"https://github.com/HarelM","@type":"Person","name":"HarelM"},"datePublished":"2015-11-10T21:19:13Z","url":"https://github.com/microsoft/TypeScript/issues/5591"}
| 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:3eca2336-50f9-5c79-336b-a4d0523f4b35 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA14:2A5566:30603C:3F4276:6B018F1D |
| html-safe-nonce | d9ced8e540bbb643090c8ae50a312680d89214936c45d37d3afc2717c9bf1ed6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTE0OjJBNTU2NjozMDYwM0M6M0Y0Mjc2OjZCMDE4RjFEIiwidmlzaXRvcl9pZCI6Ijg3Mzg3ODk3OTM2NzgzMzE2NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 377452437ac4065994a31b349c32ab590bc9f1c78282b82efa78826610659caf |
| hovercard-subject-tag | issue:116204263 |
| 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/5591/issue_layout |
| twitter:image | https://opengraph.githubassets.com/030c83560ed587e777d832475c7bbfa07579a29382a98e76aa1f105f41a04385/microsoft/TypeScript/issues/5591 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/030c83560ed587e777d832475c7bbfa07579a29382a98e76aa1f105f41a04385/microsoft/TypeScript/issues/5591 |
| og:image:alt | Hi, I like typesctipt a lot and recently I updated my compiler to version 1.6. I have some classes that were "abstract" and now I want to use the new keywork abstract My question is as follow: In o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HarelM |
| 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