Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 7, 2017

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 #3465.

Note: This is pretty conflict-prone and is blocked on a couple of things:

  1. We need to bump to Angular 4.0+ to be able to compile.
  2. @angular/forms doesn't support strictNullChecks as of 4.0 RC2, which means that our code won't be able to compile until it does.

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.
@crisbeto crisbeto added blocked This issue is blocked by some external factor, such as a prerequisite PR pr: needs review labels Mar 7, 2017
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 7, 2017

const command = 'npm';
const args = ['publish', '--access', 'public', label ? `--tag` : undefined, label || undefined];
const args = ['publish', '--access', 'public', label ? `--tag` : '', label || ''];
Copy link
Member Author

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.

crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 12, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
@crisbeto
Copy link
Member Author

Closing in favor of #5094.

@crisbeto crisbeto closed this Jun 12, 2017
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 12, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 12, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 12, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 12, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 13, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 14, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 16, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 17, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
jelbourn pushed a commit to crisbeto/material2 that referenced this pull request Jun 20, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 20, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
jelbourn pushed a commit to crisbeto/material2 that referenced this pull request Jun 20, 2017
Adds compatibility with strictNullChecks to the library, tests, build and various test apps.

Fixes angular#3486.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

blocked This issue is blocked by some external factor, such as a prerequisite PR cla: yes PR author has agreed to Google's Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turn on strictNullChecks

3 participants