Open vantreeseba opened 1 month ago
Outside of Haxe the exported value is mostly useless and the properties it has might change with Haxe versions.
I guess I could adjust it to:
export const IModule2D: {__isInterface__: true}
export interface IModule2D {
value(x: F32, y: F32): F32
}
Would that be closer to what you'd expect?
IModule2D.hx
IModule2d.d.ts
IModule2d.js
index.js
This causes the export to think it's exporting a type (though this is fine in JS since it ignores those anyway).