/** @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.
The
@noResolutiondirective 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.