Title: Parameter property shorthand in class constructors · Issue #2 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: Parameter property shorthand in class constructors · Issue #2 · TypeScriptToLua/TypeScriptToLua
X Title: Parameter property shorthand in class constructors · Issue #2 · TypeScriptToLua/TypeScriptToLua
Description: As detailed here: https://www.typescriptlang.org/docs/handbook/classes.html Currently doesn't transpile such shorthand, resulting in the constructor not assigning properties as expected. For example, a constructor function, constructor(p...
Open Graph Description: As detailed here: https://www.typescriptlang.org/docs/handbook/classes.html Currently doesn't transpile such shorthand, resulting in the constructor not assigning properties as expected. For exampl...
X Description: As detailed here: https://www.typescriptlang.org/docs/handbook/classes.html Currently doesn't transpile such shorthand, resulting in the constructor not assigning properties as expected. For ex...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parameter property shorthand in class constructors","articleBody":"As detailed here: https://www.typescriptlang.org/docs/handbook/classes.html\r\n\r\nCurrently doesn't transpile such shorthand, resulting in the constructor not assigning properties as expected.\r\nFor example, a constructor function, `constructor(public A: string) {}`, would transpile to a constructor function with an empty body.","author":{"url":"https://github.com/Trildar","@type":"Person","name":"Trildar"},"datePublished":"2018-01-19T20:52:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2/TypeScriptToLua/issues/2"}
| 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:9ad35d9a-e945-d24a-97b5-40d2bb12dedb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEB6:13F113:5A6BA6C:7B193A4:69737242 |
| html-safe-nonce | 0fcedfc557e5fba3673b7550c12b687f854b3e471ada15f2a0b358cd1ebe1229 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUI2OjEzRjExMzo1QTZCQTZDOjdCMTkzQTQ6Njk3MzcyNDIiLCJ2aXNpdG9yX2lkIjoiNjU5NjIyODEyOTk4MzM0MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 418bcdfe20ef5dfeb44fd69147b14ffdfc3ff25fcd52abd9f5da7eccb9f8f7ed |
| hovercard-subject-tag | issue:290103496 |
| 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/TypeScriptToLua/TypeScriptToLua/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8f8ee17ff1f16fecb95a0721efc06ec72f45e7ea7c6ae412e837faeeca9722c7/TypeScriptToLua/TypeScriptToLua/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f8ee17ff1f16fecb95a0721efc06ec72f45e7ea7c6ae412e837faeeca9722c7/TypeScriptToLua/TypeScriptToLua/issues/2 |
| og:image:alt | As detailed here: https://www.typescriptlang.org/docs/handbook/classes.html Currently doesn't transpile such shorthand, resulting in the constructor not assigning properties as expected. For exampl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Trildar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4cf879a11b0a28a85543899a36aaee9ec9ca2fb7bedad86c0da5731193c95f01 |
| turbo-cache-control | no-preview |
| go-import | github.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git |
| octolytics-dimension-user_id | 44121206 |
| octolytics-dimension-user_login | TypeScriptToLua |
| octolytics-dimension-repository_id | 115876595 |
| octolytics-dimension-repository_nwo | TypeScriptToLua/TypeScriptToLua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 115876595 |
| octolytics-dimension-repository_network_root_nwo | TypeScriptToLua/TypeScriptToLua |
| 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 | fe8be790582ef7a55477ce1918ac0ed16b106d31 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width