4 ms·
I use ts-rs [1] in my project to generate Typescript definitions. The files are copied to the web app automatically. [1] https://crates.io/crates/ts-rs https:/
by mootoday 1y ago
I use ts-rs [1] in my project to generate Typescript definitions. The files are copied to the web app automatically.
[1] https://crates.io/crates/ts-rs https://crates.io/crates/ts-rs
- agnishom 1y agoI use aeson-typescript but it is broken in subtle ways https://hackage.haskell.org/package/aeson-typescript https://hackage.haskell.org/package/aeson-typescript
- aporiador 1y agoI use https://github.com/1Password/typeshare https://github.com/1Password/typeshare it has it's quirks, but works nicely
- jtwaleson 1y agoI switched to utoipa as I also needed an Open api client generator. One neat thing is that I generate the complete client with a bit of python code. Then I use Knip to find unused exports in my Typescript project. I actually found some unused backend methods that were left over from refactoring.