Error is resolved for angular v16:
I have installed ng-apexcharts v1.8.0 and it's working fine.
npm i [email protected]