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
Is your feature request related to a problem? Please describe.
Currently, using serde-wasm-bindgen will generate : any types. It would be nice if ts-rs could integrate with this library to be able to generate proper types.
Describe the solution you'd like serde-wasm-bindgen generates proper TS types based on #[derive(TS)], for example when a certain feature of ts-rs is enabled.
Hm, I have no experience with wasm-bindgen at all. Is there a minimal project you can point us to so we can see what ts-rs currently generates, as well as the desired output?
From what I see, it seems like this crate works by using #[serde(with = "...")]? If that is the case, currently you'd need to use #[ts(as = "...")] and point it to a type that exports the desired TS code
Is your feature request related to a problem? Please describe.
Currently, using
serde-wasm-bindgen
will generate: any
types. It would be nice if ts-rs could integrate with this library to be able to generate proper types.Describe the solution you'd like
serde-wasm-bindgen
generates proper TS types based on#[derive(TS)]
, for example when a certain feature ofts-rs
is enabled.Describe alternatives you've considered
The serde-wasm-bindgen docs mention tsify, but it seems unmaintained.
The text was updated successfully, but these errors were encountered: