bel
bel copied to clipboard
Allow renaming of primitive types
Allows renaming primitive types. This is helpful if those types are marshalled in a non standard way.
In our case, we had a
type Timestamp int64
that we are marshalling as a string. With this change, it’s possible to customise the generated typescript type for non struct types as well.