angular error, an accossro cannot be declared in an ambient context code example
Example: angular An accessor cannot be declared in an ambient context.
ng update --next @angular/cli --force
npm install typescript@latest
ng update --next @angular/cli --force
npm install typescript@latest