What is the purpose of generating interface related code in JS? I understand that interfaces are use for type checking at build time but I would expect that once the JS has been generated then any interface related code could be stripped in order to minimise the JS payload.
Thanks for the quick responses. Makes sense. Although adding @:remove to an interface could apparently break any future run-time type checking in a hard to debug way. You’d have to remember to remove the @:remove once you use Std.is