3 ms·
> Avoid keeping types in TypeScript in sync with Rust. Out of curiosity, did you try auto-generating the typescript types from the Rust types?
by da39a3ee 5y ago
> Avoid keeping types in TypeScript in sync with Rust.
Out of curiosity, did you try auto-generating the typescript types from the Rust types?
- nitsky 5y agots-rs did not exist at the time. Perhaps if it did, we would have chosen differently. Generating types with “cargo test” feels very hacky though.