Title: No referencing/intellisense fo nested properties/functions within class · Issue #7801 · microsoft/TypeScript · GitHub
Open Graph Title: No referencing/intellisense fo nested properties/functions within class · Issue #7801 · microsoft/TypeScript
X Title: No referencing/intellisense fo nested properties/functions within class · Issue #7801 · microsoft/TypeScript
Description: I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function that resides inside a property of the class...
Open Graph Description: I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function tha...
X Description: I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function tha...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7801
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No referencing/intellisense fo nested properties/functions within class","articleBody":"I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function that resides inside a property of the class. Is there a way to solve this sort of issue so that I can reference `myThirdProp` inside `mySecondFunc`?\n\n```\nexport class a {\n\n myProperty = 'hello';\n myFunc() {\n\n this.myProperty; //referencing and intellisense available\n }\n\n mySecondProp: Object = {\n\n myThirdProp: 'hello2',\n mySecondFunc() {\n\n this. //no intellisense/reference here\n }\n }\n}\n```\n","author":{"url":"https://github.com/magicode118","@type":"Person","name":"magicode118"},"datePublished":"2016-04-04T10:21:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/7801/TypeScript/issues/7801"}
| 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:3e27d0a3-0248-2376-e8b9-38e385241982 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7F4:12CC5:208836F:2C9DBF7:6A630BFF |
| html-safe-nonce | 52ecbfb43d2d742cf50c370312088a0443aff0feccd3ee54cecd7d6dfa545a1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0Y0OjEyQ0M1OjIwODgzNkY6MkM5REJGNzo2QTYzMEJGRiIsInZpc2l0b3JfaWQiOiI2NTAxMDQ5MTY4ODc5MDk0NzgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 90c99e423717341ea8b3475abd03d39b2372bb86480c2ac45813cd8d96384ba2 |
| hovercard-subject-tag | issue:145642547 |
| 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/7801/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d88940f3a199b7d4c8b6ac226ae5a3e3f3e3f6ceeecc5bbfcc141ab3fc4514e6/microsoft/TypeScript/issues/7801 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d88940f3a199b7d4c8b6ac226ae5a3e3f3e3f6ceeecc5bbfcc141ab3fc4514e6/microsoft/TypeScript/issues/7801 |
| og:image:alt | I have the following structure where I have a class that contains functions nested inside properties and vice versa. Intellisense and therefore referencing is not working when inside a function tha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | magicode118 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b48e7bf0b1945d51f303503b057abf666ce74c3efbe107b413db2bb921c3f012 |
| 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 | 9370f37042c29822d6ba7e3f670f0036a0155b21 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width