An accessor cannot be declared in an ambient context ng2-datepicker 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