Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

I'm confused with unknown for bindings

$
0
0

I just found to parse every cmd’s response is verbose and massive work. It also seems unnecessary since I have already defined every cmd’s response type(according to protobuf).

I’m looking for something like in typescript that can specify type for an unknown data: let res: SomeCmdPushData = unknown_res_data. Is that possible or other better solutions in rescript?


Viewing all articles
Browse latest Browse all 2592

Trending Articles