an accessor cannot be declared in an ambient context. ng bootstrap code example
Example 1: angular An accessor cannot be declared in an ambient context.
ng update --next @angular/cli --force
npm install typescript@latest
Example 2: ERROR in node_modules/@ng-bootstrap/ng-bootstrap/accordion/accordion.d.ts:230:9 - error TS1086: An accessor cannot be declared in an ambient context. 230 set ngbPanelToggle(panel: NgbPanel);
ng update @angular/core @angular/cli
Example 3: ERROR in node_modules/@ng-bootstrap/ng-bootstrap/accordion/accordion.d.ts:230:9 - error TS1086: An accessor cannot be declared in an ambient context. 230 set ngbPanelToggle(panel: NgbPanel);
ng update @angular/material