I am running into an issue where I have a class in Haxe that looks like:
// Request.hx
import pkg.DataType;
class Request {
}
class Response {
final data: DataType
}
When I run this through genes, it emits Request.d.ts that contains an import for pkg.DataType, and Request.js, which does not have the import. The problem here is that the import is needed for $hxClasses to be populated with the DataType type, and that is required for Type.resolveClass to work.