- uint32_t res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
- UnsignedChannelUpdate res_hu_conv = new UnsignedChannelUpdate(null, res);
+ number res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
+ const res_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, res);