Skip to content

noResolution directive not detected on named imports #635

@hazzard993

Description

@hazzard993
/** @noResolution */
declare module "module" {
    export const x: number;
}
import { x } from "module";
x;

The @noResolution directive in this instance is not picked up so TypeScriptToLua will attempt to resolve the path to "module" which will change based off the file using this import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions