0.3.7
Pre-release
Pre-release
This release adds chainable packed and align(n) helpers to the struct function and @struct decorator. These can be used to skip importing yet another module. packed is a modified struct while align returns a modified struct.
For example:
// Using the decorator
@struct.packed('X')
class X extends $from(...) { ... }
// Using the function
const Z = struct.align(2).extend(Y, 'Z', { ... })