Aleph-Alpha / ts-rs

Generate TypeScript bindings from Rust types
MIT License
1.15k stars 115 forks source link

Change declarations to use type instead of interface #203

Closed escritorio-gustavo closed 10 months ago

escritorio-gustavo commented 10 months ago

Change TS code generation to use type instead of interface to make the use of the type intersection (&) operator possible

NyxCode commented 10 months ago

LGTM! Feel free to merge it.