tsify
tsify copied to clipboard
Generate types instead of interfaces
Types are more flexible. Interfaces cause the crate to generate invalid typescript by attempting to extend a type in some cases, like when flattening a tagged enum into a struct.
I for one find this undesirable, it should at least be under a feature flag or somehow optional