-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use type checking within the generator #26114
Comments
I don’t understand the proposal. |
Just to historize the work on making the generator more typescript friendly sir ;-) |
@DanielFran I'll leave the bounty to anyone else willing to contribute to the overall rework |
I will took this one @Tcharl |
Too bad, I got error after cloning the repo and ran
|
This error is in yeoman-test. |
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: