Title: Imported @customName not converts · Issue #1653 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: Imported @customName not converts · Issue #1653 · TypeScriptToLua/TypeScriptToLua
X Title: Imported @customName not converts · Issue #1653 · TypeScriptToLua/TypeScriptToLua
Description: /** * @customName new */ export declare function new_() import * as utils from 'utils'; import { new_ as utils_new } from 'utils'; import { new_ } from 'utils'; { new_() utils.new_() utils_new() } local ____exports = {} local utils = req...
Open Graph Description: /** * @customName new */ export declare function new_() import * as utils from 'utils'; import { new_ as utils_new } from 'utils'; import { new_ } from 'utils'; { new_() utils.new_() utils_new() } ...
X Description: /** * @customName new */ export declare function new_() import * as utils from 'utils'; import { new_ as utils_new } from 'utils'; import { new_ } from 'utils'; { new_() uti...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/issues/1653
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Imported @customName not converts","articleBody":"```ts\n/**\n * @customName new\n */\nexport declare function new_()\n```\n\n```ts \nimport * as utils from 'utils';\nimport { new_ as utils_new } from 'utils';\nimport { new_ } from 'utils';\n{\n new_()\n utils.new_()\n utils_new()\n}\n```\n\n\n```lua\nlocal ____exports = {}\nlocal utils = require(\"utils\")\nlocal ____utils = require(\"utils\")\nlocal utils_new = ____utils.new_ -- expected .new\nlocal ____utils = require(\"utils\")\nlocal new_ = ____utils.new_ -- expected new = ____utils.new\ndo\n new_() -- expected new\n utils.new() -- OK\n utils_new()\nend\nreturn ____exports\n\n```","author":{"url":"https://github.com/d-enk","@type":"Person","name":"d-enk"},"datePublished":"2025-08-20T13:03:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1653/TypeScriptToLua/issues/1653"}
| 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:11845a65-d139-d7ad-12e2-978af3392bfa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87C0:1ADB68:195C0E:2228CA:69714F83 |
| html-safe-nonce | e2d770417424b7332f7339520b0525c48df87903d6f381a51e5542077a4daebe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0MwOjFBREI2ODoxOTVDMEU6MjIyOENBOjY5NzE0RjgzIiwidmlzaXRvcl9pZCI6IjE4MDE0MzY5NzA3OTQxNzYzODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9b6508d357ed604996aa8d717c5debe8a14e31161def90b5889029badec4c144 |
| hovercard-subject-tag | issue:3338058110 |
| 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/1653/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f1fa1550f87de4f9278929c249016e9d0c2afb285dbbd726e48efc42c248ebd/TypeScriptToLua/TypeScriptToLua/issues/1653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f1fa1550f87de4f9278929c249016e9d0c2afb285dbbd726e48efc42c248ebd/TypeScriptToLua/TypeScriptToLua/issues/1653 |
| og:image:alt | /** * @customName new */ export declare function new_() import * as utils from 'utils'; import { new_ as utils_new } from 'utils'; import { new_ } from 'utils'; { new_() utils.new_() utils_new() } ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | d-enk |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7cbccf7f40bcd9540003423d9bef63b2fe7bb0b73fc59d91b5ae5b46000c90 |
| 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 | c9e6c71b091ca750658a3b2e3c82b0b85555f788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width