@:expose
class G {
var _field: String;
public var field(get, set): String;
function get_field(): String { return null; }
function set_field(value: String): String { return _field = value; }
}
are generated as:
export class G {
private constructor();
field: string;
}
Haxe doesn't normally generate native JS getters, so get_field/set_field should be exposed.
Any variation of properties like:
are generated as:
Haxe doesn't normally generate native JS getters, so
get_field/set_field
should be exposed.