benmerckx / genes

Generates split ES6 modules and Typescript definitions from Haxe modules.
43 stars 8 forks source link

Fix #50 #51

Open kevinresol opened 3 years ago

kevinresol commented 3 years ago

Still not perfect, for var(get, never) in abstract we get this:

export declare class Future_Impl_ {
    static readonly status: FutureStatus<T>
    protected static get_status<T>($this: FutureObject<T>): FutureStatus<T>
}

I think we should skip the generation of the var itself, but expose the getter instead.