Closed SuperKXT closed 6 months ago
Interesting. I won't add it right now, as types are subtly different enough that they collide (e.g. the extends
config option would need handling / ignoring).
I'll say, for now, use a custom template if you prefer using types.
Some prefer
type
overinterface
to define object types. While I have no strong feelings about this, I maintain some projects with lint rules to prevent the use ofinterface
.It will be helpful to add an option to generate with
type
.