You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the trait bound `(u32, u32): NapiRaw` is not satisfied
required because of the requirements on the impl of `napi::bindgen_prelude::ToNapiValue` for `(u32, u32)`
In the second case, the macros don't complain, but on the JS side, I get a X object with no properties...
On the JS side I would be expecting a heterogeneous array of some sort.
The text was updated successfully, but these errors were encountered:
CMCDragonkai
changed the title
Support for Tuple Struct
Support for Tuples and Tuple Struct
Nov 22, 2022
Is there a reason why we cannot export a tuple struct or tuple to the JS side?
In the first case, the macro complains:
In the second case, the macros don't complain, but on the JS side, I get a
X
object with no properties...On the JS side I would be expecting a heterogeneous array of some sort.
The text was updated successfully, but these errors were encountered: