Title: fix: only parse arguments from first line of tag comment by aabajyan · Pull Request #1650 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: fix: only parse arguments from first line of tag comment by aabajyan · Pull Request #1650 · TypeScriptToLua/TypeScriptToLua
X Title: fix: only parse arguments from first line of tag comment by aabajyan · Pull Request #1650 · TypeScriptToLua/TypeScriptToLua
Description: I had this issue, where I was trying to use customName annotation to rename methods and I noticed that it was also including a new line and the first word of the next line. For example: /** @noSelf */ declare namespace TestNamespace { /** * @customName pass * The first word should not be included. **/ function fail(): void; } TestNamespace.fail(); Would result in: TestNamespace["pass\nThe"]() The solution was pretty simple, I only had to get the first line before splitting it by space. I ran the tests and everything passes. Let me know if there's other changes I need to make.
Open Graph Description: I had this issue, where I was trying to use customName annotation to rename methods and I noticed that it was also including a new line and the first word of the next line. For example: /** @noSelf...
X Description: I had this issue, where I was trying to use customName annotation to rename methods and I noticed that it was also including a new line and the first word of the next line. For example: /** @noSelf...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1650
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ccbc3a59-dbe9-28fb-fc06-4e755d15a9ef |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B5D8:1FD077:897C1D:B449C7:697169F6 |
| html-safe-nonce | d478da69e0172cf6b311ede24e0a6223c32f19126f5891c1be108c097dd2b057 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUQ4OjFGRDA3Nzo4OTdDMUQ6QjQ0OUM3OjY5NzE2OUY2IiwidmlzaXRvcl9pZCI6IjU5OTY3NzY5MjEyMDA5NDU2NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3081056a15843f5a22f37269068220af55278f3680888f1758957fb8d9e7940f |
| hovercard-subject-tag | pull_request:2668792229 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/TypeScriptToLua/TypeScriptToLua/pull/1650/checks |
| twitter:image | https://avatars.githubusercontent.com/u/62068860?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/62068860?s=400&v=4 |
| og:image:alt | I had this issue, where I was trying to use customName annotation to rename methods and I noticed that it was also including a new line and the first word of the next line. For example: /** @noSelf... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 353479110ec1e87d687013548f216c852055ec907d09d2fb6a180cb5ed9d28e1 |
| turbo-cache-control | no-cache |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a4c7e274c03a115b82dcef6c47ce3f7f903e88e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width