docs: Fix typo in changelog (#39223)

PR Close #39223
This commit is contained in:
Oliver Schlegel 2020-10-12 07:32:14 +02:00 committed by Alex Rickabaugh
parent 7c45cbc523
commit a7518eb631
1 changed files with 3 additions and 3 deletions

View File

@ -158,11 +158,11 @@ code relies on directive constructor types it may require some updates to improv
* **forms:** Type of AbstractFormControl.parent now includes null * **forms:** Type of AbstractFormControl.parent now includes null
`null` is now included in the types of .parent. If you don't already have a check for this case, `null` is now included in the types of .parent. If you don't already have a check for this case,
the TypeScript compiler might compain. A v11 migration exists which adds the not-null assertion the TypeScript compiler might complain. A v11 migration exists which adds the non-null assertion
operator where necessary. operator where necessary.
In an unlikely case your code was testing the parnet against undefined with sitrct equality, In an unlikely case your code was testing the parent against undefined with strict equality,
you'll need to change this to `=== null` instead, since the parent is not explicily initialized you'll need to change this to `=== null` instead, since the parent is now explicitly initialized
with `null` instead of being left `undefined`. with `null` instead of being left `undefined`.