An accessor cannot be declared in an ambient context. node_modules/ngx-toastr/toastr/toast-noanimation.component.d.ts(19,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