Title: Intellisense support in 'this' keyword inside an object. · Issue #9583 · microsoft/TypeScript · GitHub
Open Graph Title: Intellisense support in 'this' keyword inside an object. · Issue #9583 · microsoft/TypeScript
X Title: Intellisense support in 'this' keyword inside an object. · Issue #9583 · microsoft/TypeScript
Description: Hi, maybe this is a bug but is not showing any intellisense regarding with the current object. TypeScript Version: 1.8.0 Code interface Person { name : string; lastName : string; age: number; greet() : string; } var People : Person[] = [...
Open Graph Description: Hi, maybe this is a bug but is not showing any intellisense regarding with the current object. TypeScript Version: 1.8.0 Code interface Person { name : string; lastName : string; age: number; greet...
X Description: Hi, maybe this is a bug but is not showing any intellisense regarding with the current object. TypeScript Version: 1.8.0 Code interface Person { name : string; lastName : string; age: number; greet...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/9583
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intellisense support in 'this' keyword inside an object.","articleBody":"Hi, maybe this is a bug but is not showing any intellisense regarding with the current object. \n\n**TypeScript Version:** 1.8.0\n\n**Code**\n\n``` ts\ninterface Person {\n name : string;\n lastName : string;\n age: number;\n\n greet() : string;\n}\n\n\nvar People : Person[] = [{\n name : \"Santi\",\n lastName : \"Aguilar\",\n age : 21,\n greet : function(){\n return this.name;\n }\n}]\n```\n\n**Expected behavior:**\n\nOffer intellisense for the current object (this)\n\n**Actual behavior:** \n\n\n","author":{"url":"https://github.com/sant123","@type":"Person","name":"sant123"},"datePublished":"2016-07-09T03:34:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/9583/TypeScript/issues/9583"}
| 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:e2926a7b-b466-79b0-852b-4a7c9725f6bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C852:1C5BEE:25DA34:359857:6A6367FD |
| html-safe-nonce | 9125cd1c9dc170fe455e775f85bbea985855f40eda97244f7d6329243d0f3776 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODUyOjFDNUJFRToyNURBMzQ6MzU5ODU3OjZBNjM2N0ZEIiwidmlzaXRvcl9pZCI6IjIwMDQzMzA5NjM4ODAwNzczMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0bf04a672090235e69e4d4d2fd2dac145720efa11b2ed1beae8daea5a0700788 |
| hovercard-subject-tag | issue:164647362 |
| 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/9583/issue_layout |
| twitter:image | https://opengraph.githubassets.com/904719ee085fc87ca8bfd14e9e884bf6f00a4fb5c6e0bfb9ea6d8fca513e0d3b/microsoft/TypeScript/issues/9583 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/904719ee085fc87ca8bfd14e9e884bf6f00a4fb5c6e0bfb9ea6d8fca513e0d3b/microsoft/TypeScript/issues/9583 |
| og:image:alt | Hi, maybe this is a bug but is not showing any intellisense regarding with the current object. TypeScript Version: 1.8.0 Code interface Person { name : string; lastName : string; age: number; greet... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sant123 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 669d3fcd704a169521d2b6431762f95a6878a9e8ccaf0fd5f2d0802fc5b971f9 |
| 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 | 20da292f132ff51328be50073854259f417052c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width