Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chgo1
· 3y ago · 0 comments
Nice writeup! A small improvement: There is `#[serde(rename_all = "camelCase")]` to avoid typing all properties twice.
Comments
[–]
benatkin
3y ago
Along the same lines, wasm-bindgen can generate the TypeScript types:
https://rustwasm.github.io/wasm-bindgen/reference/attributes...