Skip to content

Imported @customName not converts #1653

@d-enk

Description

@d-enk
/**
 * @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 = require("utils")
local ____utils = require("utils")
local utils_new = ____utils.new_ -- expected .new
local ____utils = require("utils")
local new_ = ____utils.new_ -- expected new = ____utils.new
do
    new_()      -- expected new
    utils.new() -- OK
    utils_new()
end
return ____exports

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions