Philippe Elsass

Results 126 comments of Philippe Elsass

Oh! Right we dont support yet `@:jsRequire` classes... https://github.com/HaxeFoundation/hxnodejs/blob/master/src/js/node/http/IncomingMessage.hx Note that you appeased typing gods, but it's as good as having replaced it by `Dynamic`.

Very (too? 😁) clever, @benmerckx. Switching in the enum still looks really awkward though... Maybe you it could be solved using a TypeScript transform.

What branch are you testing? Is that `master` or branch `feature/6_include-related` in PR?

But I agree a warning would be better

Please try the branch if you don't mind

You're right, it shouldn't throw but print a warning. Please PR if you can.

Something is crashing when it tries resolving some types. Maybe a typedef of typedef or anon. Is the lib open source? Otherwise you can try checking out the lib from...

I'm afraid this kind of abstract can't be really exported: this requieres compiler awareness to rewrite code to use this kind of static methods to create/operate on the abstracted types.

I think your syntax isn't entirely correct (though it may be accepted by the compiler). For a typedef with `var prop: Type` it should be: ```haxe @:expose typedef GameType ={...

Current workaround: a post-install script deleting all the `.d.ts` of the package 😅