Angular 13, a planned upgrade to Google’s popular TypeScript-based web framework, is starting to take shape. Two beta releases, published on August 4 and August 11 and accessible on GitHub, introduce changes to forms and the router.
For forms, Angular 13 debuts a new type, FormControlStatus
, which is a union of all possible status strings for form controls. Also, AbstractControl.status
has been narrowed from string
to FormControlStatus
and StatusChanges
have been narrowed from Observable<any>
to Observable<FormControlStatus>
. Most applications should consume these new types seamlessly, according the Angular changelog.
To read this article in full, please click here