From 53019c456b5dab66caa5cfc88a18b9289f17fd87 Mon Sep 17 00:00:00 2001 From: Leif Segen Date: Mon, 29 Nov 2021 12:05:50 -0500 Subject: [PATCH] Update status --> statusChanges Per [this documentation page](https://v13.angular.io/api/forms/FormControl#:~:text=statusChanges%3A%20Observable%3CFormControlStatus%3E), it's `AbstractControl.statusChanges` that has type `Observable`. --- src/app/recommendations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/recommendations.ts b/src/app/recommendations.ts index c4539c5..bed33c9 100644 --- a/src/app/recommendations.ts +++ b/src/app/recommendations.ts @@ -172,7 +172,7 @@ export const RECOMMENDATIONS: Step[] = [ { possibleIn: 1300, necessaryAsOf: 1300, level: 2, step: 'v13 service worker activated', action: 'The `activated` observable of `SwUpdate` is now deprecated. To check the activation status of a service worker use the `activatedUpdate` method instead.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: 2, step: 'v13 service worker available', action: 'The `available` observable of `SwUpdate` is now deprecated. To get the same information use `versionUpdates` and filter only the `VersionReadyEvent` events.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: 2, step: 'v13 renderModuleFactory', action: 'The `renderModuleFactory` from `@angular/platform-server` is no longer necessary with Ivy. Use `renderModule` instead.' }, - { possibleIn: 1300, necessaryAsOf: 1300, level: 3, step: 'v13 forms status', action: 'We narrowed the type of `AbstractControl.status` to `FormControlStatus` and `AbstractControl.status` to `Observable`. `FormControlStatus` is the union of all possible status strings for form controls.' }, + { possibleIn: 1300, necessaryAsOf: 1300, level: 3, step: 'v13 forms status', action: 'We narrowed the type of `AbstractControl.status` to `FormControlStatus` and `AbstractControl.statusChanges` to `Observable`. `FormControlStatus` is the union of all possible status strings for form controls.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: 3, step: 'v13 router serializer', action: 'To align with the URI spec, now the URL serializer respects question marks in the query parameters. For example `/path?q=hello?&q2=2` will now be parsed to `{ q: `hello?`, q2: 2 }`' }, { possibleIn: 1300, necessaryAsOf: 1300, level: 3, step: 'v13 host binding', action: '`href` is now an attribute binding. This means that `DebugElement.properties[\'href\']` now returns the `href` value returned by the native element, rather than the internal value of the `href` property of the `routerLink`.' }, { possibleIn: 1300, necessaryAsOf: 1300, level: 3, step: 'v13 spy location', action: '`SpyLocation` no longer emits the `popstate` event when `location.go` is called. In addition, `simulateHashChange` now triggers both `haschange` and `popstate`. Tests that rely on `location.go` most likely need to now use `simulateHashChange` to capture `popstate`.' },