Use typesafety within the generator #26114
Labels
area: enhancement 🔧
$$ bug-bounty $$
https://www.jhipster.tech/bug-bounties/
theme: blueprint 🐾
theme: cli
theme: entities
theme: jhipster-internals
$100
https://www.jhipster.tech/bug-bounties/
Overview of the feature request
Now that most of the generator is in typescript, type safety can be ensured removing all the
any
and enforcing attributes types (i.e.let myVar: string
), function parameter types, and function return types.Motivation for or Use Case
Type safety helps to avoid some mistakes, but also helps new jhipster contributors (and occasional contributors like me) to better understand how the generator is architectured: in the end, it speeds up the delivery of new features due to a better developper experience.
Related issues or PR
#26111
#26110
#26096
The text was updated successfully, but these errors were encountered: