-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
is tsconfig's strictPropertyInitialization property safe to set false? #894
Comments
However, possible to configure it to be |
@samchon thank you very much, can i just set |
Still possible, but never recommend. If you configure the In my perspective view, |
Question
I am new to nestia, nestia is awesome.
I am using mongodb and using
npx nestia setup --manager pnpm
to setup nestia in my existing project.But, I can't start dev server.
I see a lot of Typescript error in console. I need to change schame add
!
to each class property like this.Meanwhile, I found that set strictPropertyInitialization to false in tsconfig.json can also solve this issue.
Is it safe to set this property to false and does it affect nestia?
The text was updated successfully, but these errors were encountered: