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