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