angular 8 to upgrade from 9.1 code example
Example 1: how to update angular version
content_copy
ng update @angular/cli @angular/core
Example 2: update angular materia;
npm update @angular/material @angular/cdk
content_copy
ng update @angular/cli @angular/core
npm update @angular/material @angular/cdk