Add support for enum, can copy the definition over to TS and marshal as number.
Largely requires mechanical refactorings to swap ClassInfo out for higher abstraction like NamedTypeInfo which a new EnumInfo can then subclass from (and ClassInfo also ofc).
Has a few edge cases w.r.t conversions, potential errors for ulong/long types on the interop boundary. But nothing crazy.
Opens the door for nested type support (class in class, enum in class, etc)
Add support for
enum, can copy the definition over to TS and marshal as number.Largely requires mechanical refactorings to swap ClassInfo out for higher abstraction like NamedTypeInfo which a new EnumInfo can then subclass from (and ClassInfo also ofc).
Has a few edge cases w.r.t conversions, potential errors for ulong/long types on the interop boundary. But nothing crazy.