Skip to content
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

chore: enable strict #631

Merged
merged 2 commits into from
May 30, 2018
Merged

chore: enable strict #631

merged 2 commits into from
May 30, 2018

Conversation

rafaelss95
Copy link
Collaborator

Closes #629.

@mgechev
Copy link
Owner

mgechev commented May 26, 2018

@rafaelss95 🤘

tsconfig.json Outdated
@@ -8,6 +8,8 @@
"noLib": false,
"outDir": "./dist",
"removeComments": true,
"strict": true,
"strictPropertyInitialization": false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rkirov does it work for you if we disable strictPropertyInitialization?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mgechev There are only few some places that forced me to disable this. I can enable this and initialize properties properly or even use a ! to indicate that I want hack that property. Let me know what should I do.

Copy link
Collaborator

@wKoza wKoza May 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the job isn't too hard, I would prefer to use the default value of strictPropertyInitialization. Could you update this PR in this direction ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wKoza Updated.

@mgechev
Copy link
Owner

mgechev commented May 26, 2018

@rafaelss95 great job! LGTM, I'll let @wKoza to have a look as well.

@rafaelss95
Copy link
Collaborator Author

Thanks, @mgechev :)

@rafaelss95
Copy link
Collaborator Author

Ping @wKoza.

@rafaelss95 rafaelss95 requested a review from wKoza May 29, 2018 01:11
Copy link
Collaborator

@wKoza wKoza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants