-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
feat: support strictNullChecks #3486
Conversation
Turns on `strictNullChecks` everywhere and refactors all of the code to make it compliant. This makes us consistent with the core Angular modules which support `strictNullChecks` after 4.0. Fixes angular#3465.
@@ -49,7 +49,7 @@ function _execNpmPublish(label: string): Promise<{}> { | |||
console.log(`Publishing material...`); | |||
|
|||
const command = 'npm'; | |||
const args = ['publish', '--access', 'public', label ? `--tag` : undefined, label || undefined]; | |||
const args = ['publish', '--access', 'public', label ? `--tag` : '', label || '']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self: this is broken and should be reworked.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Closing in favor of #5094. |
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
Adds compatibility with strictNullChecks to the library, tests, build and various test apps. Fixes angular#3486.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Turns on
strictNullChecks
everywhere and refactors all of the code to make it compliant. This makes us consistent with the core Angular modules which supportstrictNullChecks
after 4.0.Fixes #3465.
Note: This is pretty conflict-prone and is blocked on a couple of things:
@angular/forms
doesn't supportstrictNullChecks
as of 4.0 RC2, which means that our code won't be able to compile until it does.