Aleph-Alpha / ts-rs

Generate TypeScript bindings from Rust types
MIT License
1.08k stars 107 forks source link

Convert `inline`, `inline_flattened`, `decl` and `decl_concrete` to required methods #254

Closed escritorio-gustavo closed 6 months ago

escritorio-gustavo commented 6 months ago

All of these methods have a default implementation which panics, this can be misleading to a user that tries to manually implement TS and uses rust-analyzer's "Implement missing methods", which will only give them TS::name() and TS::WithoutGenerics