o erro que é retornado é esse:
node_modules/primeng/api/megamenuitem.d.ts(1,10): error TS2305: Module ‘"…/…/@angular/router/router"’ has no exported member ‘QueryParamsHandling’.
node_modules/primeng/api/menuitem.d.ts(1,10): error TS2305: Module ‘"…/…/@angular/router/router"’ has no exported member ‘QueryParamsHandling’.
node_modules/primeng/menubar/menubar.d.ts(13,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/primeng/menubar/menubar.d.ts(14,9): error TS1086: An accessor cannot be declared in an ambient context.
src/app/menu/menu.component.ts(2,26): error TS2307: Cannot find module ‘primeng/components/common/menuitem’.
o import que dá erro:
import { MenuItem } from ‘primeng/components/common/menuitem’;
esse erro está impedindo o meu projeto de compilar.