I am trying to build an angular app for prod and get below error. When I tried to ng-serve, everything works fine but gives issue while building.
I understood the issue, it is for the passing number instead of a string, but I do not get it where in my code it happens. Which line number to check.
ERROR in /home/ankita/Documents/admin-panel/ecommerce-admin/src/$$_gendir/app/customer-review/customer-review.component.ngfactory.ts (830,237): Argument of type 'number' is not assignable to parameter of type 'string[]'.
ERROR in /home/ankita/Documents/admin-panel/ecommerce-admin/src/$$_gendir/app/customer-review/customer-review.component.ngfactory.ts (1435,237): Argument of type 'number' is not assignable to parameter of type 'string[]'.
ERROR in /home/ankita/Documents/admin-panel/ecommerce-admin/src/$$_gendir/app/customer-review/customer-review.component.ngfactory.ts (2024,237): Argument of type 'number' is not assignable to parameter of type 'string[]'.
ERROR in /home/ankita/Documents/admin-panel/ecommerce-admin/src/$$_gendir/app/customer-review/customer-review.component.ngfactory.ts (2637,237): Argument of type 'number' is not assignable to parameter of type 'string[]'.```