jhugman / uniffi-bindgen-react-native

A uniffi bindings generator for calling Rust from react-native
Other
0 stars 0 forks source link

Fix macro for inherited types to avoid typescript error #76

Closed zzorba closed 1 week ago

zzorba commented 3 weeks ago

I believe this will address https://github.com/jhugman/uniffi-bindgen-react-native/issues/75

zzorba commented 3 weeks ago

Basically our exporting trick has one problem, https://github.com/microsoft/TypeScript/issues/30355

So I marked them public and put a strongly worded note on the fields in question. We could also suppress the typescript warning, but it has to be done at each export site (annoying)

jhugman commented 1 week ago

Closing this in favour of #84.