jhugman / uniffi-bindgen-react-native

A uniffi bindings generator for calling Rust from react-native
https://jhugman.github.io/uniffi-bindgen-react-native/
Other
50 stars 5 forks source link

Fix macro for inherited types to avoid typescript error #76

Closed zzorba closed 2 months ago

zzorba commented 3 months ago

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

zzorba commented 3 months 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 2 months ago

Closing this in favour of #84.