Loading...
Loading...
#[ossido::Type] - bundle serde::{Serialize, Deserialize} onto a struct or enum and generate its TypeScript type (exported from the "@ossido-labs/ossido/types" module). Replaces the old #[derive(Serialize, Deserialize, Type)].
The generated TypeScript is importable: