我正在尝试为产品构建一个有角度的应用程序,并获得以下错误。当我尝试ng-serv时,一切正常,但在构建时出现问题。
我理解了这个问题,它是用于传递数字而不是字符串,但是我无法在代码中找到它。要检查哪个行号。
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[]'.```