upgrade to version 12 of angular code example
Example: update angular cli
For updating angular cli type this command :
ng update @angular/cli @angular/core
For updating angular cli type this command :
ng update @angular/cli @angular/core