ERROR in node_modules/@angular/material/core/datetime/date-adapter.d.ts:29:9 - error TS1086: An accessor 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