update from angular 6 to angular 9 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